Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- df[df["dimension"].isin(["A", "B", "C"])]
- # not in
- df[~df["dimension"].isin(["A", "B", "C"])]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement