So analysieren Sie Daten aus DataFrame in 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()