# Expand

Expand a data frame to include all combinations of values. Unlike the Complete command, the resulting data frame does not include columns that are not selected.

## How to Access This Feature

![](/files/-MH9VSDdx_yTtnoDBO-0)

## Expand

![](/files/-MH9VSDgGA8tcS7pZwXW)

* Select columns that you want to have all combinations of values.
* Click "Run".


---

# 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/expand.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.
