find columns with 1 unique values in a dataframe code example Example: unique values in dataframe colume df['Column_name'].value_counts()