How do I get a list of all the duplicate items using pandas in python? - Stack Overflow

PHOTO EMBED

Mon May 23 2022 11:34:03 GMT+0000 (Coordinated Universal Time)

Saved by @vigneshprince #python

df[df.duplicated(['ID'], keep=False)]
content_copyCOPY

https://stackoverflow.com/questions/14657241/how-do-i-get-a-list-of-all-the-duplicate-items-using-pandas-in-python