Column Astype (DP_ASP)
This function casts a column to a specified datatype
Last updated
{
"status": "true",
"message": {
"id": 3,
"project": 1,
"block_id": 7,
"parent_id": 6,
"dataset_url": "",
"x_value_url": "",
"y_value_url": ""
}
}// Some code// Column AsType
const Client = require("./src/client");
let client = new Client(process.env.AUTOGON_API_KEY);
projectId = 41;
parentId = 9;
blockId = 10;
dataInput = (await client.columns_astype(projectId, parentId, blockId, {
astype: "int32",
columns: [0, 5, 7]
})).data;