frequency of column items in data frame code example Example: frequency unique pandas df.stack().value_counts()