Session Ready
Exercise

DataFrame to CSV

You're almost there! To make things easier to read, you'll need to sort the data and export it to CSV so that your colleagues can read it.

pandas as pd has been imported for you.

Instructions
100 XP
  • Sort airline_totals by the values of bumps_per_10k from highest to lowest, storing as airline_totals_sorted.
  • Print your sorted DataFrame.
  • Save the sorted DataFrame as a CSV called "airline_totals_sorted.csv".