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