# Group

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

![](/files/-M4oN7_17_Dz3ohNtFUD)

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

### From Column Menu

![](/files/-M4oN7_37CDt0UpVUXIO)

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

## Group Rows

![](/files/-M4oN7_5XwagqZAzNT1J)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exploratory.io/data-wrangling/group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
