# Importing Dataframes

### Importing Dataframes through the Mitosheet

If you have a dataframe you created with Python, and you want to import it into your Mitosheet:

1. Click the **Import** button in the toolbar.
2. Click the **Import Dataframes** options in the dropdown that appears.
3. Click the **+ Add** button to add a dataframe that is exists.
4. Click **Import Dataframes** to impor these dataframes into your sheet.

<figure><img src="/files/Dv1QuHaJoziwm7HNYq0x" alt=""><figcaption></figcaption></figure>

### Importing Dataframes through Mitosheet.sheet()

Importing a dataframe into Mito is as simple as adding the dataframe as a parameter to the `mitosheet.sheet` call.

If we are attempting to import a dataframe named `sales_data:`

1. Create a new code cell with the code:

```python
import mitosheet
mitosheet.sheet(sales_data) # Change sales_data to the name of your dataframe
```

Then, run this cell. A mitosheet will appear with a single tab that contains this dataframe, which you can now begin exploring, editing, and more.

### Importing multiple dataframes at once

Mito allows you to import as many dataframes as you want. Each dataframe you import will be displayed in the mitosheet as a separate tab.

Imagine if we want to import `sales_data` and `customer_metadata` into the same mitosheet, so we can work with both of them at the same time.

```python
import mitosheet
mitosheet.sheet(sales_data, customer_metadata) # Change to your dataframes
```


---

# 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.trymito.io/how-to/importing-data-to-mito/importing-dataframes.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.
