pandas get a daily value counts of categorical code example Example: relativefrequencies of the unique values pandas df.value_counts(normalize=True)