Creating new column based on a conditional of index

后端 未结 0 1133
滥情空心
滥情空心 2020-12-02 11:57

Using Python 3.7, pandas 1.1.4

MRE:

d = {1:"A", 2:"B", 3:"C"}

df = pd.DataFrame({"group":[0,1,2,3,4,5,6,7,8,9,         


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