CONTENT:
User Guide: Group By: split-apply-combine: http://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html?highlight=group#group-by-split-apply-combine
By “group by” we are referring to a process involving one or more of the following steps:
- Splitting the data into groups based on some criteria.
- Applying a function to each group independently.
- Combining the results into a data structure.
API Reference: GroupBy: http://pandas.pydata.org/pandas-docs/stable/reference/groupby.html
GroupBy objects are returned by groupby calls: pandas.DataFrame.groupby()
, pandas.Series.groupby()
, etc.