Introduction
Series
What DataFrames are
DataFrame columns
14. Displaying columns in a given order
DataFrame rows
Filtering rows and columns
Filtering data frames
Sorting rows
Summary

Instruction

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.

Exercise

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.