I am trying to rename the columns of my data frame with the row values. I have the following:
FIRM TIME V_Ri
1 A EAGLE 14DEC1994 740 -0.0005039933
2 A EAGLE 14DEC1994 741 0.0000000000
3 A EAGLE 14DEC1994 742 0.0238607800
4 A EAGLE 14DEC1994 743 -0.0125612300
5 A EAGLE 14DEC1994 744 -0.0134325100
And I would like to obtain:
FIRM 740 741 etc.
1 A EAGLE 14DEC1994 -0.0005039933 0.0000000000
I have tried by transposing, but couldn't reach the desired result. Any hints?