I have a pivot table that looks like this-
0
type A B C
obs
x NA 1 2
y 1 1 2
z 2 2 3
I want to reset the index to look like this-
obs A B C
x NA 1 2
y 1 1 2
z 2 2 3
Using reset_index
with inplace=True
does not work for me. Any suggestions?