📜  系列 astype - Python 代码示例

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

代码示例1
# Simple conversion - series to integer
series.astype(int)

# Dataframe column conversion
df.column_name.astype(int)