Pandas creates a column of types and column of values of each type

后端 未结 0 1489
北海茫月
北海茫月 2020-12-11 02:28

Suppose you have a following dataset:

Country,A,B,C,
USA,1,3,4,
Canada,7,8,3

How do you transform the table in pandas, Python so it looks lik

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