toBigDecimal
Converts values in the columns previously selected with convert to BigDecimal, 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 }.toBigDecimal()
df.convert { colsOf<Double>() }.toBigDecimal()Content copied to clipboard
Return
A new DataFrame with the values converted to BigDecimal.