Efficient way to convert a df to a dictionary with one column as keys and values which are dictionary containing two other columns

前端 未结 0 401
无人及你
无人及你 2021-01-07 05:25

I have a df

    A      B    C
0   NAME1  11   x
1   NAME2  22   y
2   NAME3  33   z

and I want to get a dictionary which has column A as keys

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