text_plain_output_1.png
df.groupby(['country'])['quality_of_education'].mean()

a = df.groupby(['country'])['quality_of_education'].mean()
a.sort_values(ascending=False)

koolid = df.groupby(['country'])['year'].count()
koolid.sort_values(ascending=False)