Cómo analizar datos de DataFrame en 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()