pandas frequency of a specific value per group

后端 未结 0 1352
一整个雨季
一整个雨季 2020-11-30 08:33

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题