I've a single data frame and after pivoting it I've got the dataframe in this format:

I want it to be a single header like Raw01, Raw02, Raw 03, Raw04, Raw05, calcd01, calcd02, calcd03 and so on. Also the index column can just b a.
I've searched for other questions but in that case they have two data frames and I only have one. So, how will I achieve it?