Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Filtering by row
Extracting data by column
10. Select many columns
Practice using filter() and select()
The pipe operator
Sorting rows


Good job! Usually, we need to extract more than one column at a time. Again, we use a comma separator (,) between the column names to do this. Important: In this context, the comma means "or". In filter(), it meant "and".

To choose information about country names and continents, we would use:

select(countries, country_name, continent)


Select information about country names (country_name) and populations (population).

Stuck? Here's a hint!


select(countries, country_name, population)