How to create a dictionary from 2 columns of a dataframe? -> {'Keys' : [List of values]}

后端 未结 0 670
悲&欢浪女
悲&欢浪女 2020-12-31 08:07

I\'m a newbie!

I\'ve been studying Python for 2 months and I\'m doing some exercises on pandas. I am trying to create a dictionary from two columns of a dataframe.

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