values of unique from dataframe with count
data = df.groupby('ColumnName')['IDColumnName'].nunique()
print(data)
Are there any code examples left?
New code examples in category Python
data = df.groupby('ColumnName')['IDColumnName'].nunique()
print(data)