check unique dataframe code example
Example 1: count unique pandas
df['column'].nunique()
Example 2: unique values in dataframe column
#List unique values in the df['name'] column
df.name.unique()
df['column'].nunique()
#List unique values in the df['name'] column
df.name.unique()