In Pandas, how to create a unique ID based on the common interrelation of other columns?

后端 未结 0 1804
生来不讨喜
生来不讨喜 2021-01-20 16:34

I have a dataframe with two IDs columns. I need to set a unique common interrelated ID with te following condition: if either ID1 or ID2 has some of them in common, they mus

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