> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exploratory.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Group Rows

Converts the data frame into a grouped data frame where the following operations will be performed based on the groups. Grouping should be done before you want to aggregate values.

## How to Access This Feature

### From + (plus) Button

![](https://mintcdn.com/exploratory-inc/TqmeqBdjk6dsTTLj/en/wrangling/images/command-group-df-menu.png?fit=max\&auto=format\&n=TqmeqBdjk6dsTTLj\&q=85\&s=321978b44de4d022e46f14a8b2ebcd3d)

* Click "+" button and select "Group By".

### From Column Menu

![](https://mintcdn.com/exploratory-inc/TqmeqBdjk6dsTTLj/en/wrangling/images/command-group-column-menu.png?fit=max\&auto=format\&n=TqmeqBdjk6dsTTLj\&q=85\&s=59e44592dc63a27c22f8aaf5dd712752)

* You can also select "Group By" from the column menu of the column by whose values you want to group the rows.

## Group Rows

![](https://mintcdn.com/exploratory-inc/mfFUqJbgNW8Lp3uy/en/wrangling/images/group-by.png?fit=max\&auto=format\&n=mfFUqJbgNW8Lp3uy\&q=85\&s=c4d4820ecd1d0874ecf141cf1377c0a9)

* Select the column by whose values you want to group the rows.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.