On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
What DataFrames are
DataFrame columns
14. Displaying columns in a given order
DataFrame rows
Filtering rows and columns
Filtering data frames
Sorting rows


Good job! When selecting columns, you can specify the columns in the desired order. You don't have to specify column names in the order they appear in the DataFrame. Instead of selecting:

hospitals[['Hospital Name', 'City']]

you can change the order of columns like this:

hospitals[['City', 'Hospital Name']]

Python will retrieve the columns in the specified order.


From the eu_states DataFrame select the following columns in this exact order: Country, Area, Population, and Currency. Assign the selected columns to the changed_order variable.