df.duplicated().sum()
boolean = df['Student'].duplicated().any() # True
# Display if the column(s) contain duplicates in the DataFrame
df.sum().duplicated()
animals = pd.Series(['lama', 'cow', 'lama', 'beetle', 'lama'])
>>> animals.duplicated()