Aidan Coco

Mar 28, 2021

6 min read

Deep dive on the Pandas Groupby Function

source “OK what is a groupby object again?”

There are some functions or methods that you know … kinda; when you think about them its fuzzy and your knowledge is not to the point where five minutes of googling can fill all the gaps. Theres are often the functions that in the heat of a project you just end up avoiding and never getting better at. For me, one of those is the pandas groupby function. Groupby is incredibly powerful and I know how to get a sum or…