Cara menganalisis data dari DataFrame di Python
data.groupby('Director')[['Rating']].mean().sort_values(['Rating'], ascending=False).head()
Marc Gilabert
data.groupby('Director')[['Rating']].mean().sort_values(['Rating'], ascending=False).head()