unique value check pandas code example
Example 1: count unique values pandas
df['hID'].nunique()
5
Example 2: Count unique values Pandas
df = df.groupby('domain')['ID'].nunique()
df['hID'].nunique()
5
df = df.groupby('domain')['ID'].nunique()