> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Specify Data Types

> Change the data type of columns in your dataset

## Description

With this function you can change the data type of columns in your dataset.

***

## Application

The importers determine and assign the data type of all columns which usually this works well. But in case the importer assigned the wrong data type this function can be used to set the data type correctly. Typically, this occurs if there is an inconsistency with the data (for example, one row of a numerical column contains a string which results in Categorical data type for the entire column). Therefore, you should check the data and fix the underlying issue before changing the data type.

***

## How to use

* Create the step and assign a tabular dataset to it in the field **Data**.
* In the field **Columns to change** select all columns for which you want to change the data type.
* For **each selected column** a new field appears in which you can set the data type for that column. The current data type of the column is preset in the field.
* Change the data type of all selected columns by means of the new fields according to your requirements.
* Once you finished the settings click **Apply** to execute the step.

<img src="https://mintcdn.com/coreweave-dbfa0e8d/QRLrBgwZtalbZXz3/monolith-ai/_media/Specify-Data-Types-1.png?fit=max&auto=format&n=QRLrBgwZtalbZXz3&q=85&s=24a12f6dee8827b44a19e3703bc6355e" alt="Specify Data Types step settings with a data type field for each selected column" width="640" height="400" data-path="monolith-ai/_media/Specify-Data-Types-1.png" />

### Available Data Types

| Data type            | Description                                                                               |
| -------------------- | ----------------------------------------------------------------------------------------- |
| Float (float64)      | Floating point number. Use this for any numerical data.                                   |
| Boolean (bool)       | Columns with this data type can hold only one of two values (`True`/`False`, `0`/`1`).    |
| Categorical (object) | Use this for any non-numerical columns. Typically, that would be Strings (that is, text). |
