Check Column Types

This transform returns the datatype of each column in a dataset.

tags: [“EDA”]

Parameters

The table gives a brief description about each parameter in Check Column Types transform.

Name:

By default, the transform name is populated. You can also add a custom name for the transform.

Input Dataset:

The file name of the input dataset. You can select the dataset that was uploaded from the drop-down list to check the data type of each column. (Required: True, Multiple: False)

Output Dataset:

The file name with which the output dataset is created. This file returns the data type of each column in the input dataset.(Required: True, Multiple: False)

Sample input for Check Column Types transform:

../../../_images/checkcolumntype_input.png

The output after running the Check Column Types transform on the dataset appears as below:

../../../_images/checkcolumntype_output.png

How to use it in Notebook

The following is the code snippet you must use in the Jupyter Notebook editor to run the Check Column Types transform:

template=TemplateV2.get_template_by('Check Column Types')

recipe_Check_Column_Types= project.addRecipe([car_data, employee_data, temperature_data, only_numeric], name='Check Column Types')

transform=Transform()
transform.templateId = template.id
transform.name='Check Column Types'
transform.variables = {
'input_dataset':'car',
'output_dataset':'car_columntypes'}
recipe_Check_Column_Types.add_transform(transform)
recipe_Check_Column_Types.run()

Requirements

pandas