Converting data to matrix by group in Python

后端 未结 0 443
情书的邮戳
情书的邮戳 2021-01-30 02:23

I want to create matrix for each observation in my dataset. Each row should correspond to disease group (i.e. xx, yy, kk). Example data

id  xx_z xx_y xx_a yy_b yy         


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