📌  相关文章
📜  将列数据框转换为 int - Python 代码示例

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

代码示例3
# convert Series
my_series = pd.to_numeric(my_series)

# convert column "a" of a DataFrame
df["a"] = pd.to_numeric(df["a"])