find unique values counts on categorical data p[yhton code example Example: frequency unique pandas df.stack().value_counts()