I'm pulling data from Sqlite3 and moving it into a dataframe to work with it. However, I get this weird output where it places the first column name into the second row while the other column names are unaffected in the first row. This creates problems as pandas won't recognize the first row's column name (it only sees column names 2-4). What's the best way to get the column names on the first row?
Example output:
(x$1000) PRN AMT TICKER
CUSIP
594918104 3034828140 1612323669 MSFT
037833100 2463247977 2628732382 AAPL
02079K305 2096049986 93429916 GOOGL
Wanted output:
CUSIP (x$1000) PRN AMT TICKER
594918104 3034828140 1612323669 MSFT
037833100 2463247977 2628732382 AAPL
02079K305 2096049986 93429916 GOOGL