Guest User

Untitled

a guest
Jan 21st, 2020
109
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