Keep the rows whose city is Delhi or Pune, using .isin()

pandas · from query, isin and between

.query().isin().between().str.contains()@variables~

Putting the kettle on…

Starting up…

Exercise 3

Keep the rows whose city is Delhi or Pune, using .isin().

your answer
stuck? the lesson behind it
query, isin and between
The readable ways to say a filter, once masks stop scaling.