Extract (convert) variables and associated values from pandas data frame

前端 未结 0 1518
遥遥无期
遥遥无期 2020-12-01 12:53

I have a pandas dataframe as follows:

a = pd.DataFrame({\'col1\': (\'x\',\'y\'), \'col2\':(1,2)})

I want to extract variable and associated v

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