解决ValueError: cannot convert float NaN to integer

时间:2021-03-29 17:44:05   收藏:0   阅读:1256

由于pandas版本0.24.0,数据类型:

 

data[id]=data[id].astype(Int64)

 

原文:https://www.cnblogs.com/cupleo/p/14592897.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!