📜  熊猫转换器示例 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:48.599000             🧑  作者: Mango

代码示例3
In [5]:
pd.read_csv(io.StringIO(t), converters={'date':pd.to_datetime}).info()


Int64Index: 1 entries, 0 to 0
Data columns (total 4 columns):
int      1 non-null int64
float    1 non-null float64
date     1 non-null datetime64[ns]
str      1 non-null int64
dtypes: datetime64[ns](1), float64(1), int64(2)
memory usage: 40.0 bytes