python pandas how to count the unique values in a column code example
Example: pandas count distinct values in a column
Series.value_counts(self, normalize=False, sort=True, ascending=False, bins=None, dropna=True)
Series.value_counts(self, normalize=False, sort=True, ascending=False, bins=None, dropna=True)