toInt
Converts values in the columns previously selected with convert to Int, preserving their original names and positions within the DataFrame. Preserves null values.
For more information: See convert on the documentation website.
Examples:
df.convert { age and year }.toInt()
df.convert { colsOf<Double>() }.toInt()Content copied to clipboard