Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Create a column for storage
- df["y_exists"] = ""
- #Here is a loop that always returns FALSE
- if df.x in df.y:
- df.x_exists="TRUE"
- else:
- df.x_exists="FALSE"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement