how to check for multiple conditions in multiple columns in pandas dataframe based on duplicates in the same dataframe and return all duplicates code example
Example: python - show repeted values in a column
df = df[df.duplicated(subset=['val1','val2'], keep=False)]