I have the following file:
OBJ OBJ OBJ
DATE OBJ CLASS DATE OBJ OBJ OBJ
CLASS ENTERED1 TAG REPL ENTERED2 NAME TSTMP USERID
----- ---------- --- ----- ---------- ---------------------------------------- -------------------------- --------
EZ4 2002-02-06 D 2002-02-06 abc random 2002-02-06-10.05.30.242768 2342342
000 2001-09-27 D 2001-09-27 none 2001-09-27-10.23.31.121606 2343242
011 1974-07-09 0001-01-01 board COMPENSATON 1997-01-22-09.10.23.145853
The columns are defined with underscores and the header texts are broken up across multiple rows. I'd like to read this into a pandas dataframe such that the column texts are intact and the underscores are removed. What can I do to get the dataframe in the format I'm seeking?