How can I reshape a wide dataset into a long dataset using multiple columns?

前端 未结 0 1674
温柔的废话
温柔的废话 2020-12-12 10:58

I have a dataframe that I need to reshape

ID Treatment Dog_Weight Cat_Weight Horse_Weight Pig_Weight
1     A         20         10          100         1000 
         


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