I have a dataframe I read from json, process, and save to csv. The df looks fine in terms of shape and df.head(), tail look fine. I write to a csv then read and get an error -
df = get_json(params)
df.to_csv(f'fname.csv')
testdf = pd.read_csv(f'fname.csv')
ParserError: Error tokenizing data. C error: Buffer overflow caught - possible malformed input file.
Is there some 'careful write' I should be doing?