Convert pandas dataframe into a matrix of 1's and 0's for presence/absence

前端 未结 0 746
醉话见心
醉话见心 2020-12-14 02:33

I have data that looks like this that I have imported using pandas into python:

new_id  code
001722  A01.09
001723  A01.09
001723  A02.0
001724  A02.9
001724          


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