Answers for "breaking big csv into chunks pandas"

1

breaking big csv into chunks pandas

for i, chunk in enumerate(pd.read_csv(csv_file, chunksize=1000000)):
        chunk.to_csv('ACTIVITY_EMAIL_OPEN_{}.csv'.format(i), index=False)
Posted by: Guest on May-12-2021

Code answers related to "breaking big csv into chunks pandas"

Python Answers by Framework

Browse Popular Code Answers by Language