Suppose I have data for 50K shoppers and the products they bought. I want to count the number of times each user purchased product "a". value_counts s
value_counts