Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Filtering by row
6. The not-equals operator
Extracting data by column
Practice using filter() and select()
The pipe operator
Sorting rows
Summary

Instruction

Nice! Now, let's see how we can exclude data using the not-equals operator: !=. This will give us all the information except whatever we specify. If we wanted data for every country except those in Europe, we'd write:

filter(countries, continent != "Europe")

Exercise

Subset all information about countries except for countries located in Asia.

Stuck? Here's a hint!

Type:

filter(countries, continent != "Asia")