码字不易,喜欢请点赞,谢谢!!! 查看DataFrame的数据类型df.dtypes#查看各列数据类型 df[A].dtypes#查看A列数据类型 转换DataFrame的数据类型df[A].astypes(int)#将A列数据类型转换为int