Keep only the rows where revenue is 2000 or more

pandas · from Filtering rows with a boolean mask

df[mask]Series comparison&|~.isin().iloc.reset_index()

Putting the kettle on…

Starting up…

Exercise 1

Keep only the rows where revenue is 2000 or more.

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.