I'm getting a FileNotFound error yet the file exists. I am trying to chunk a large .csv file into smaller chunks to store on my PC and easily work with using excel. However, I can't get past the error. this my code...
import pandas as pd
chunk_size = 50000
batch_no = 1
for chunk in pd.read_csv('action-network_users.csv', chunksize = chunk_size):
chunk.to_csv('action-network_users' + str(batch_no) + '.csv', index = False)
batch_no =+1