June 22, 2021 Pandas is wonderful, but Haki Benita reminds us it’s often better to aggregate in the database first: