I have a dataset like this
A    B    C D
Cat Meow  1 2
Dog Grr   3 4
I need to convert into the bwlow format by creating new columns
Level Focus C D
A     Cat   1 2
A     Dog   3 4
B     Meow  1 2
B     Grr   3 4
I am not sure how I can achieve this using pivot_table()
 
     
    