O'Reilly logo
  • Lina Vourgidou thinks this is interesting:

In [350]: top_female_ratings = mean_ratings.sort_index(by='F', ascending=False)

From

Cover of Python for Data Analysis

Note

Python 3: top_female_ratings = mean_ratings.sort_values(by='F', ascending=False)