You probably need to pre-process the data to fit the expected CSV format. I doubt pandas handle this by simply changing a parameter or two.
If there are only two columns, and the first never contains a half-line, then you can split the lines in the first half of the colon:
records = [] with open('error.csv', 'r') as fh:
You will have to manually analyze the dates yourself using the datetime module if you want the first column to contain the correct dates, not rows.
source share