python dataframe get unique values 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()