Dataframe.toNumber(...)
This function converts all the selected column values into number
Parameter
Array<string>
- which are the column labels
Returns
Dataframe<T>
The example below converts columns in a dataframe into numbers
const concat: Dataframe<T> = df.toNumber(["age", "id", "bp"]);