To be used for grouping variables together based on a given condition. And only to be used with relevance to `pandas` library
pandas.DataFrame.groupby
allows you to group variables in a DataFrame or a certain number of columns in different categories.
After grouping, one can also obtain the mean and perform other operations as well.