Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- df = pd.read_csv('data.csv', chunksize=1000, low_memory=False)
- device_data = pd.concat(df, ignore_index=True)
- iter_csv = pd.read_csv('data.csv', iterator=True, chunksize=1000)
- df = pd.concat([chunk[chunk['ID'] == 1234567] for chunk in iter_csv])
Add Comment
Please, Sign In to add comment