Pandas: Wide to first, second, third, identified categories

后端 未结 0 1010
失恋的感觉
失恋的感觉 2020-12-01 04:17

I am wondering if anyone knows a quick way in pandas to pivot a dataframe to achieve the desired transformation below. It is sort of a wide-to-long pivot, but not quite.

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