Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- df = pd.read_csv('data.csv', iterator=True)
- size = 8000
- while True:
- try:
- data = df.get_chunk(size)
- print('>', data)
- except StopIteration:
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement