PY-pandas | 数据查看与读写
#%%
# CY3761 | 2022-01-03 13:11
#%%
# 描述项
#%%
# 导入项
import os.path
import numpy as np
import pandas as pd
#%%
def printData(o):
oItems = dict(dtype=None,dtypes=None,shape=None,size=None,index=None,columns=None)
for (k,v) in oItems.items():
try:
oItems[k] = eval(f'o.{k}')
except (Exception, BaseException) as e:
pass
print(type(o), '/n', oItems)
#%% md
# 数据
共有 0 条评论