how to count all the distinct rows in python 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)