count unique values colunm pandas code example
Example 1: count unique pandas
df['column'].nunique()
Example 2: unique values in a column pandas
#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()