a guest Jan 21st, 2020 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import pandas as pd
- logs = pd.read_csv('/datasets/logs.csv')
- logs['email'] = logs['email'].fillna(value='')
- logs.loc[logs['source'] == 'None', 'email'] == ''
RAW Paste Data