输入时df.dtypes,我们有类型列表.但是,是否有一种简单的方法来获得输出
df.dtypes
{'col1': np.float32, ...}
或者我需要自己编写一个函数?
python pandas
pandas ×1
python ×1