如何从熊猫过滤的电影数据绘制折线图

时间:2020-04-13 10:31:36

标签: python pandas

df.loc[df['title_year'].isin(years2.index)].groupby('title_year')['imdb_score'].mean()

我正在尝试从movies_metadata.csv文件中的过滤条件绘制折线图。 该图应该看起来像这样。 enter image description here

enter image description here

0 个答案:

没有答案