> 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/type-changes.md).

# Type Changes

Mito's point and click type changes make it easy to identify the data type of each column in your dataframe, and cast those columns to a different type.

#### Identifying Data Types

For each column in your dataframe, the datatype is displayed in the column header. The icon will help you distinguish between int, floats, strings, booleans, and dates/time deltas.

#### Changing Data Types

There are two ways to change the data type of columns inside Mito.

Firstly, you can use the **Dtpye** dropdown in the Mito toolbar:&#x20;

1. Select the columns you want to cast to a new dtype.
2. Click on the Dtype dropdown in the Mito toolbar and select a new dtype.

<figure><img src="/files/CU4xaQzULCi1Veelbqad" alt=""><figcaption><p>Changing a string column to a datetime.</p></figcaption></figure>

Secondly, you can use the typecasting spreadsheet formulas. To do so, add the VALUE, TEXT BOOL, or DATEVALUE function to your formula to convert your column to a number, string, boolean, or datetime respectively.

For example, to convert the result of an IF statement to a boolean, wrap the if statement in the BOOL function.

```
=BOOL(IF(A > 100, 1, 0))
```

The resulting column will have `true` for each row where A is greater than 100 and `false` for each row where A is less than or equal to 100.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.trymito.io/how-to/type-changes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
