> 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/importing-data-to-mito/importing-csv-files.md).

# Importing CSV Files

How to import a CSV file into Mito.

1. Click on the `Import` button in the Mito toolbar.
2. Select the **Import Files** option that appears in the dropdown.
3. Use the file browser to navigate to the directory and CSV file you want to import.
4. Click on the file, and then click the `Import` button.
5. The CSV file should appear as a tab in your mitosheet.

<figure><img src="https://2294704369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_U5ZCmiamDOXEOOTC%2Fuploads%2FB4cthrqDg2tErQnhJFWu%2FScreenshot%202023-11-28%20at%203.48.41%20PM.png?alt=media&amp;token=a5413d89-ecb6-4fc1-ba56-59446416e74b" alt=""><figcaption></figcaption></figure>

### Importing a CSV file from a different directory

If your CSV file is in a different directory that the current notebook, you might need to navigate the file browser to find it.

1. Double click on a folder to enter the folder and see it's contents.
2. Double click on the `<- Parent Folder` to navigate to the parent of this folder.

### Importing multiple CSV files

To import mulitple CSV files, simply repeat the process of importing a single CSV. Each of the imported CSVs will appear as a separate tab in your mitosheet.

### Configuring a CSV import

Mito automatically the correct parameters to import your CSV file in over 90% of cases. In the case that Mito cannot correctly guess the delimeter or encoding of your file, or there are some invalid lines, you can manually configure the CSV import to get your data imported.

1. Click on the `Import` button in the Mito toolbar.
2. Use the file browser to navigate to the directory and CSV file you want to import.
3. Click on the file, and then click the `Configure` button.
4. If necessary, update the config options:
   1. `Delimiter`: The seperator that seperates one column from another.
   2. `Encoding`: The encoding used to save this file.
   3. `Decimal Separator`: The character used to separate the decimal places in numbers.
   4. `Number of Rows to Skip`: The number of rows at the top of the file to skip when reading data into the dataframe.
   5. `Skip Invalid Lines`: Turn on to skip any lines that error when being read in.
5. Click the `Import` button, and your dataframe should appear as a tab in your mitosheet.

   <figure><img src="https://2294704369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_U5ZCmiamDOXEOOTC%2Fuploads%2FOJh7Nx90UkzMVS9aWPIp%2FScreen%20Shot%202023-11-29%20at%2012.35.20%20PM.png?alt=media&amp;token=536c4f0f-ded3-4fb7-86c9-3f5f943ae0e5" alt="" width="375"><figcaption><p>Configuring a CSV Import.</p></figcaption></figure>

#### Importing a CSV from a remote drive <img src="https://2294704369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_U5ZCmiamDOXEOOTC%2Fuploads%2FQr0pdK6kyquZ0muGHok2%2Fimage.png?alt=media&amp;token=e1a79532-c025-49fa-846d-b21be641a066" alt="" data-size="line">

Mito supports importing CSV files from remote drives, including shared drives, network drives, Dropbox, etc.&#x20;

[Upgrade to **Mito Pro**](https://trymito.io/plans) to access this feature.


---

# 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/importing-data-to-mito/importing-csv-files.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.
