Transform columns to row indexes with pandas Dataframe

前端 未结 0 1580
执念已碎
执念已碎 2020-12-13 09:12

I have following csv file:

I want to transform that into this one:

Is there a simple pandas oneliner that can do that kind of transformations?

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