Pandas Groupby

This notebook uses pandas to apply the split-apply-combine strategies using the pd.groupby operation

  • Understand the split-apply-combine strategy for aggregate computations on groups of data

  • Be able use basic aggregation methods on df.groupby to compute within group statistics

  • Understand how to group by multiple keys at once

We will work through the following notebook.

Local Option

You can download the notebook from here

Then browse to your download location and load jupyter:

cd ~/Downloads
jupyter notebook pandas-groupby.ipynb

Cloud Based Option

You can launch the notebook