Reshape dataframe by reversing columns names with columns values

后端 未结 0 801
迷失自我
迷失自我 2021-01-03 01:51

I am trying to reshape a df so that the values become columns and the current columns\' names become the values of the new df.

Here is an exemple.

df1=         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题