how to save all count of unique values in pandas code example
Example: values of unique from dataframe with count
data = df.groupby('ColumnName')['IDColumnName'].nunique()
print(data)
data = df.groupby('ColumnName')['IDColumnName'].nunique()
print(data)