I have a dataframe with two headers like this:
I want to transform it to have one header. Desired output:
I have followed some solutions on stack-overflow about multi-indexing and multi-headers, but I am not able to achieve the result I want. Can anybody help me solve this? Thanks in advance.