A csv (comma delimited) file, where lines have an extra trailing delimiter, seems to confuse pandas.read_csv. (The data file is [1])
pandas.read_csv
It treats the extra
Well, there's a very simple workaround. Add a dummy column to the header when reading csv file in:
cols = ... cols.append('') records = pandas.read_csv('filename.txt', skiprows=1, names=cols)
Then columns and header get aligned again.