填充替换缺失值为0

df=df.fillna('0')

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

原文地址:https://www.cnblogs.com/jianchiai/p/11380056.html