Closed madeinjapan closed 4 months ago
Thanks for the issue but this is the expected behavior. pandas, like python rounding, implements rounding half to even (aka bankers rounding), so closing as the expected behavior
I did not know this. I learned something again. Thanks
Pandas version checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pandas.
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Rounding does not work for values ending in 5. Based on the rounding rules, we round up from 5. Pandas does this in some cases and not in others. Unstable
Expected Behavior
Correct application of rounding rules, or an alternative solution for fast rounding of large data (> 1 million).
Installed Versions