Introduction
Series
What DataFrames are
DataFrame columns
12. Showing single columns as DataFrames
DataFrame rows
Filtering rows and columns
Filtering data frames
Sorting rows
Summary

Instruction

Good! The result we got was a Series. In general, DataFrame can be thought of as collection of Series. That’s why we got a Series, when we asked for a single column of a DataFrame.

If, instead of a Series, you’d like to see your single column as a new DataFrame, use double brackets:

hospitals[['Hospital Name']]

Exercise

Select the Country column from eu_states and show it as a new DataFrame.

Stuck? Here's a hint!

Use double square brackets.