Test Your Skills on Data Wrangling

Test yourself on the concepts of data wrangling.

Multiple choice questions

1

What’s another way of using the “not” operator ! to filter only the rows that aren’t going to Burlington, VT or Seattle, WA in the flights data frame?

A)
not_BTV_SEA <- flights %>%  filter(!dest == "BTV" & !dest == "SEA")
B)
not_BTV_SEA <- flights %>%
  filter(dest != "BTV" & dest != "SEA")
C)

Both A and B

D)

None of the above

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.