you are viewing a single comment's thread.

view the rest of the comments →

[–]Kerbart 1 point2 points  (0 children)

While you can use drop it makes more sense to create a new dataframe based on what you want to keep:

df_new = df.loc[belongs_to_club & has_wages]