-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
DEPR: pd.value_counts #53493
DEPR: pd.value_counts #53493
Conversation
doc/source/whatsnew/v0.19.2.rst
Outdated
@@ -7,6 +7,7 @@ Version 0.19.2 (December 24, 2016) | |||
|
|||
.. ipython:: python | |||
:suppress: | |||
:okwarning: |
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.
So a star import will raise the FutureWarning
from pd.value_counts
? That's kinda unfortunate as it seems noisy
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.
i dont see an alternative that isnt behavior-changing
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.
i guess could warn inside value_counts if it is called
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.
Yeah I think it's more directly useful to warn users who are using pd.value_counts
directly`
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.
updated + greenish
Thanks @jbrockmendel |
* DEPR: pd.value_counts * update docs * suppress warning * suppress warning * suppress warning * suppress warning * pyright ignore * pylint ignore * warn inside value_counts
* DEPR: pd.value_counts * update docs * suppress warning * suppress warning * suppress warning * suppress warning * pyright ignore * pylint ignore * warn inside value_counts
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.