Keep only the rows from Delhi
pandas · from Filtering rows with a boolean mask
df[mask]Series comparison&|~.isin().iloc.reset_index()Putting the kettle on…
Starting up…
Exercise 2
Keep only the rows from Delhi.
your answer
stuck? the lesson behind it
Filtering rows with a boolean mask
Why df[df["cups"] > 100] works, and why the index comes out full of holes.