填充替换缺失值为0

df=df.fillna('0')

df=df.replace("-", "0")

posted @ 2019-08-19 22:06  大度看世界  阅读(456)  评论(0编辑  收藏  举报