![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e6ec9663b4219881fad6aad2a2286cab.png)
一、如何处理nan
二、电影数据的缺失值处理
- 电影数据的缺失值处理
# 读取电影数据
movie = pd.read_csv("./data/IMDB-Movie-Data.csv")
2.1 判断缺失值是否存在
- pd.notnull()
pd.notnull(movie)
Rank Title Genre Description Director Actors Year Runtime (Minutes) Rating Votes Revenue (Millions) Metascore
0 True True True True True True True True True True True True
1 True True True True