- 博客(1)
- 收藏
- 关注
原创 python pandas如何转换‘object’成其他数据类型
python pandas如何转换‘object’成其他数据类型transfer the type of pvt_mean_rt transfer the type of pvt_mean_rt 老版本表达(失效) df = df.convert_objects(convert_numeric=True) 新的语法表达 df[‘pvt_mean_rt’] = df[‘pvt_mean_rt’].apply(pd.to_numeric, errors=‘coerce’) ...
2020-07-29 11:25:58
6930
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅