I have a dataframe containing product data with product ID stored as the index value and other attributes as the columns. Due to human error, sometimes duplicate entries for the same item occur and I need to filter out these duplicates. Everything is the same for a given duplicate row from the previous row except the ProductID (index value).
Is there a way to delete rows that contain the exact same values that are clearly duplicate entries despite having different index values? A sample of what i'm referring to is below:
