pandas get all calumns with same unique values code example
Example 1: how to get distinct value in a column dataframe in python
df.column.unique()
Example 2: how to count unique values in a column dataframe in python
dataframe.column.nunique()
df.column.unique()
dataframe.column.nunique()