import pandas as pd df pd read_csv Users olegcherednichenko PycharmPro

1
2
3
4
import pandas as pd
df = pd.read_csv('/Users/olegcherednichenko/PycharmProjects/Training/pandas/test_data/delete_many_one_05_08_2019.csv')
pd.concat([pd.DataFrame(json.loads(x)) for x in df['json']], sort=True)[['device_id', 'ding_id']].to_csv('test_data/test_dataset.csv', index=False)