get unique values from dataframe code example
Example 1: how to get distinct value in a column dataframe in python
df.column.unique()
Example 2: Count unique values Pandas
df = df.groupby('domain')['ID'].nunique()
df.column.unique()
df = df.groupby('domain')['ID'].nunique()