DataFrame
DataFrame copied to clipboard
Locale are not taken in operation such column copy
Hi, I changed Locale to FRENCH in NumberUtil Class but it is not taken in copy column (I tried for Double type but I think it is the same for other types).
The only place where it is used is in DataFrame.print function..
Hi, the Locale is used to convert numbers to text when printing the value. For what do you need it in a Double column? To print a single column?
Hi, Just wanted to convert Double value with "." decimal to "," decimal separator.
DataFrame targetDF = DataFrame.builder().addColumn(df.getColumn("ColName").copy()).build();
ColName is of type DoubleColumn.
When I do targetDF.print(), it works correcty. But with writeCSV() nothing changes. It shows "." as Decimal separator instead of "," even if Locale is set to French.