属性错误:“ NoneType”对象没有属性“ isnull”

时间:2019-05-13 19:35:12

标签: python

删除“电影”中具有3个缺失值的所有行,然后在每列中打印缺失值的编号。

Import pandas as pd  
movies = pd.read_csv('movies.csv')  
movies = movies.dropna(thresh=3,inplace=True)  
print(movies.isnull().sum(axis = 0))

0 个答案:

没有答案