Python for Data track

Exercise 6 of 6

Filter a DataFrame

advanced +40 XP
  1. 1Using the same districts data, build the DataFrame again.
  2. 2Filter it to districts with a population above 150000 using boolean indexing.
  3. 3Print the district column of the filtered frame.
0/6
Filter a DataFrame, guided practice on Teki-SL