Store specific pandas column as dictionary

前端 未结 0 1322
盖世英雄少女心
盖世英雄少女心 2020-12-10 23:26

I know df.to_dict() will convert a whole pandas data frame to a dictionary; how do I do this for a specific column?

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