Relative Content

Tag Archive for pythondataframeprecisionpython-polars

Polars truncates decimals

I’m trying to truncate floating point numbers in my DataFrame to a desired number of decimal places. I’ve found that this can be done using Pandas and NumPy here, but I’ve also seen that it might be possible with polars.Config.set_float_precision.

Polars truncates decimals

I’m trying to truncate floating point numbers in my DataFrame to a desired number of decimal places. I’ve found that this can be done using Pandas and NumPy here, but I’ve also seen that it might be possible with polars.Config.set_float_precision.