Consider a file like this:
Men super men size Energy (J) type num g
----------------------------------------------------------------------
50 1 1 1.0234E+03 A abcd 12.1
20 7 4 5.0211E+02 A2 C agcd 14.1
10 2 3 -1.0347E+02 B2 abkd 72.1
As you can see, the file here has a fixed width with the column "type" actually has a space in it but in fact the whole "A2 C" is one data.
I am currently splitting each line into strings at fixed positions (hard-coded) inside a for loop, creating a dictionary. Is there a pythonic way to read this data into pandas preserving the column names and types?