摘要:
将DataFrame格式的数据中不是数字类型的去掉并重新索引: 首先将所有的值都转成整数字类型 df['io']=pd.to_numeric(df['io'],'coerce') df['res']=pd.to_numeric(df['res'],'coerce') coerce是将不能转为数字类型 阅读全文
posted @ 2021-08-27 17:58
特工泰瑞
阅读(1532)
评论(0)
推荐(0)