https://pandasquest.com/pandasでのgroupbyとmapreduceの活用/855/