-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
32380 deprecate squeeze in groupby #33218
32380 deprecate squeeze in groupby #33218
Conversation
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.
Thanks for doing this - looks pretty good. As noted by @mroeschke looks like you did a little more work than was required; shouldn't remove anything just yet only warn the user appropriately
We will still need a whatsnew entry for this (the one you had in a prior commit was good iirc) |
@mroeschke I have added the whats new entry. |
Looks good. Just need to merge master to fix the merge conflict and address @WillAyd's comment. |
Co-Authored-By: William Ayd <william.ayd@icloud.com>
Done |
� Conflicts: � doc/source/whatsnew/v1.1.0.rst � pandas/core/frame.py � pandas/core/series.py
Looks good. Can you update. |
� Conflicts: � doc/source/whatsnew/v1.1.0.rst � pandas/core/series.py
Done |
Ci failure should be unrelated - can you merge master and repush? |
thanks @phofl very nice. |
In pandas, this argument was deprecated in pandas 1.x and removed in pandas 2.x. xref pandas-dev/pandas#33218 Looks like in cudf this argument was never implemented, so to align with pandas, I think it should be OK to just remove this argument Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #16312
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
I deprecated the squeeze keyword. I think I got every points this keyword was used.
I hope that I considered every point necessary to deprecate a keyword. I tried to use other points were a keyword was deprecated as example.