Produce Unique value for duplicates in column using Pandas/Python

前端 未结 0 1994
萌比男神i
萌比男神i 2020-12-30 08:33

I have a dataset, df, where I would like to create unique ids for the values in the type column by placing numbers on the end.

Data

type    total   fre         


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