In this post, we will see how to resolve mark duplicate as 0 in new column based on condition
Question:
I have dataframe as belowI am looking to get output as below. any help is really apricated
Best Answer:
I hope I’ve understood you right:If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com