Pandas doesn't recognize columns in a document
Apparently, there was an extra line on the top of some documents I was trying to open. After checking all data frames and using a skiprow argument while reading files, everything worked fine.
I am trying to read multiple tab delimited files (.tab) using pandas, and all files contain 250 rows and varying number of columns (more than 1). Some of the resulting data frames have expected number of rows and columns. However, in some of them all columns are recognized as a single column. Those data frames have expected number of rows, but only one column. I checked if the problematic documents have any unexpected line breaks or separators (or absence of thereof) and I wasn't able to find anything different from the 'good' documents. Does anyone have any ideas what could be happening?