-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
BUG: Fix rounding of percentile 99.999% to 100% #55841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Round was introduced as a part of GH#48298 - But for 99.999 it is rounding to 100 causing GH#55765 - So added precision for rounding:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a whatsnew note to v2.2.0.rst
?
Sure. Added |
doc/source/whatsnew/v2.2.0.rst
Outdated
@@ -415,6 +415,7 @@ MultiIndex | |||
|
|||
I/O | |||
^^^ | |||
- Bug in :func:`DataFrame.describe` when formatting percentiles in the resulting percentile 99.999% is rounded to 100% (:issue:`55765`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put this in the Other
section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Done
Thanks @parthi-siva |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.