Temukan duplikat dalam dataset python
df.duplicated('Id')
#return total duplicate
df.duplicated('Id').sum()
SaadMakhdoom
df.duplicated('Id')
#return total duplicate
df.duplicated('Id').sum()
boolean = df['Student'].duplicated().any() # True