SHARE
TWEET

Untitled

a guest Jan 21st, 2020 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pandas as pd
  2. logs = pd.read_csv('/datasets/logs.csv')
  3. logs['email'] = logs['email'].fillna(value='')
  4. logs.loc[logs['source'] == 'None', 'email'] == ''
  5. print(logs)
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