Описание тега pandas-groupby

To be used for grouping variables together based on a given condition. And only to be used with relevance to `pandas` library

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

See more on THIS LINK