how to calculate the count of duplicate row of specific column in df code example
Example: print duplicates elements in column pandas
mask = df.columnname.duplicated(keep=False)
print (df[mask])
mask = df.columnname.duplicated(keep=False)
print (df[mask])