how to checl if two coumns are duplicate in pandas code example
Example 1: how to check for duplicates in a column in python
boolean = df['Student'].duplicated().any() # True
Example 2: count duplicates in one column pandas
df.pivot_table(index=['DataFrame Column'], aggfunc='size')