Reputation: 2319
I have a dataframe in PANDAS which has two lines of headers.How could I remove the second line? For example, I have the following:
AA BB CC DD
A B C D
Index
1 1 2 3 4
2 5 6 7 8
3 9 1 2 3
and I would like to get something like this:
AA BB CC DD
Index
1 1 2 3 4
2 5 6 7 8
3 9 1 2 3
Thank you very much.
Upvotes: 9
Views: 16565