fillna()不替换NaN值

时间:2020-05-21 06:28:23

标签: python pandas machine-learning

我是机器学习领域的新手,还没有实践过Python。我试图做指责,但Nan值不会被取代。

df.fillna(df.mean(), inplace=True)
print(df.isnull().sum())
print(df.tail(17))

ive added the output image with the NaN

0 个答案:

没有答案