I am trying to combine multilevel column names for a data frame into a single level. I don't want to drop any level just combine them. Getting them into a tuple format can also work (a,1) (a,2) and so on.
For example:
I have a data frame:
I want the output in following format: