Dial back on required logging for parse errors. Most of the stack traces
will not be useful.
For xSV files, since pandas drops data if a row has more columns than the first row, manually parse the first line and then pass the remainder of the file handle to pandas.
Tested with excel files - in that case pandas just duplicates the first cell X times in the header structure where X is the maximum column count in the data.
incorrect_column_count
errorFor xSV files, since pandas drops data if a row has more columns than the first row, manually parse the first line and then pass the remainder of the file handle to pandas.
Tested with excel files - in that case pandas just duplicates the first cell X times in the header structure where X is the maximum column count in the data.