-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: added deprecation warning for NDFrame.bool #51756
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
You'll need to update the docs to remove/suppress deprecated usages |
Sorry, but I coudn't understand can please explain it again or are you talking about adding a whatsnew entry |
@ramvikrams - the method you are deprecating is used in our documentation. Building the docs now emits warnings; the documentation needs to be adjusted so that these warnings no longer appear: https://github.com/pandas-dev/pandas/actions/runs/4323640786/jobs/7547478298#step:6:67 |
I actually looked over the net and revious pr's but could not find out how to adjust the documentation , can you please sujjest a walkthrough or any pr that had the same issue |
|
So should I remove the examples from docstring of bool and other bool instances in the doc |
I think you should leave the examples in. You can add them to the filtered warnings here: Line 133 in 27f7365
|
@rhshadrach actually now I did the required changes but still |
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.
This is looking good! Some requests below.
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.
Looking good!
/preview |
Website preview of this PR available at: https://pandas.pydata.org/preview/51756/ |
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.
lgtm
@rhshadrach is the PR mergeable now |
Thanks @ramvikrams! |
thanks sir |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.