- Axis 0 means along row ( for a particular feature of all samples ) |/
- Axis 1 means along columns (of a particular sample for all features ) --->
- Remember this by a matrix 2x3 matrix. Here axis 0 has length 2 and axis 1 has length 1
- Perform aggregation on one or more than one columns
- If more than one column in used then it is considered as multi-indexing
-
df.groupby( columns ).colname.aggfunc()