Transposing some columns after groupby in pandas

前端 未结 0 895
花落未央
花落未央 2020-12-14 19:27

Hey I am struggling with a transformation of a DataFrame:

The initial frame has a format like this:

df=pd.DataFrame({\'A\':[\'A1\',\'A1\',\'A1\',\'A1\'         


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