How to use values from 2 columns in my dataframe to assign a new column using a dictionary

后端 未结 0 1273
醉话见心
醉话见心 2021-01-02 04:41

If my dictionary is rate={(xyz,A):10 , (abc,A):1 ,(def,B):100}

Dataset looks like

      Member    Group      Rate

 0     xyz       A         np.Nan
 1         


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