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

{
    "project_id": 41,
    "block_id": 10,
    "parent_id": 9,
    "function_code": "DP_ASP",
    "args": {
        "astype": "int32",
        "columns": [0, 5, 7]
    }
}

Parameter Details

Column Astype

POST https://autogon.ai/api/v1/engine/start

Request Body

{
    "status": "true",
    "message": {
        "id": 3,
        "project": 1,
        "block_id": 7,
        "parent_id": 6,
        "dataset_url": "",
        "x_value_url": "",
        "y_value_url": ""
    }
}
// Some code

Last updated