Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Series
What DataFrames are
DataFrame columns
11. Showing single columns
DataFrame rows
Filtering rows and columns
Filtering data frames
Sorting rows
Summary

Instruction

Great! Let's focus on DataFrame columns now. To see values from a single column, you can use the brackets operator []:

hospitals['Hospital Name']

The code above will show values from a single column named Hospital Name. The result is returned as a Series.

Exercise

Select the Country column from eu_states.

Stuck? Here's a hint!

Add:

eu_states['Country']