> For the complete documentation index, see [llms.txt](https://docs.trymito.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trymito.io/how-to/changing-imported-data.md).

# Changing Imported Data

Rerun your Mito analysis on new data to refresh a report.

After creating an analysis in Mito when you import some data and edit, you may want to run this analysis on a new dataset.  For example, you created some pivot tables to analyze stock returns during the month of March on the CSV `march_returns.txt`. Now, you'd like to create the same pivot tables with the CSV `april_returns.txt`.

Mito makes applying your edits to new data extremly easy.&#x20;

### How to change imported data

1. Click the **Dataframes** dropdown in the toolbar, and click **Change imported data**.
2. In the taskpane that opens, for any import you want to change, click on the right arrow, and replace this data with&#x20;
3. Click **Change Imports**.

A success message will appear, and the analysis will now be applied to the updated datasets.

<figure><img src="https://2294704369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_U5ZCmiamDOXEOOTC%2Fuploads%2FtNjLOKEBiZ96NXyjzYwh%2FScreenshot%202023-11-28%20at%204.34.52%20PM.png?alt=media&amp;token=9727cd05-17cf-4163-92ab-ef996ef29d5d" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If you are changing your imported data from one dataset to another, make sure that these two datasets have the same data structure. \
\
For example, if `march_returns.txt` contains a column `Open Price` that you delete in your analysis, then the `april_returns.txt` dataset must also contain this column. If it does not contain this column,&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.trymito.io/how-to/changing-imported-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
