I have a dataframe that currently looks like the following:
X | A | B | C
X1 | 1 | 3 | 5
X2 | 3 | 5 | 7
I want to reshape it either in Pandas or OpenRefine so it looks like the following:
A | X1 | 1
A | X2 | 3
B | X1 | 3
B | X2 | 5
C | X1 | 5
C | X2 | 7
I know I have done something like it in the past, but cannot for the life of me remember how.