Creating a dict of list from pandas row?

后端 未结 0 345
谎友^
谎友^ 2021-01-01 10:29

I have a weird problem. I have a index and bunch of columns in a dataframe. I want the index to be a key and all the other columns to be in a list. Here\'s a example

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