Column Astype (DP_ASP)
This function casts a column to a specified datatype
This is a useful block in data processing that allows you to convert the data type of a column to a specified type. It provides flexibility in handling and transforming data by allowing you to change the data type of one or more columns.
Sample Request
Parameter Details
Column Astype
POST
https://autogon.ai/api/v1/engine/start
Request Body
Name
Type
Description
project_id*
int
current project ID
parent_id*
int
parent block ID
block_id*
int
current block ID
function_code*
String
block's function code
astype*
String
New datatype
args*
object
block arguments
columns*
Array
Columns to apply type conversion
Last updated