How to handle multiple-answer in pandas

后端 未结 0 508
一生所求
一生所求 2020-12-08 12:58

How to process from below origin data into below result.

▼ origin data

df = pd.DataFrame([[1,1,1,0],[2,1,0,1]],columns=[\'id\',\'a\',\'b\',\'c\'])
df
<         


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