SHARE
TWEET

Untitled

a guest Jun 25th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Create a column for storage
  2. df["y_exists"] = ""
  3.  
  4. #Here is a loop that always returns FALSE
  5. if df.x in df.y:
  6.     df.x_exists="TRUE"
  7. else:
  8.     df.x_exists="FALSE"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top