我有一个包含列的数据框
这里user_id是df的索引.我想通过user_id和item_bought进行分组,并为用户获取项目明智的计数.我怎么做.
谢谢
python pandas
pandas ×1
python ×1