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
12. Select a range of columns by name
Practice using filter() and select()
The pipe operator
Sorting rows


But with the dplyr package, we can choose ranges of columns another way – by name! Let's select the country_name, continent, and population columns, which are all next to each other. To do that, we'd write:

select(countries, country_name:population)


Select the columns from population to water_area by name.

Stuck? Here's a hint!


select(countries, population:water_area)