Skip to content
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: Update groupby.apply DeprecationWarning to FutureWarning #59751

Merged
merged 7 commits into from
Oct 29, 2024

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach commented Sep 8, 2024

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Ref: #54950 (comment)

@rhshadrach
Copy link
Member Author

Just got caught up with some of the chat on slack, marking this as a draft until #59513 is merged.

@rhshadrach rhshadrach marked this pull request as draft September 8, 2024 17:24
@mroeschke mroeschke added Apply Apply, Aggregate, Transform, Map Warnings Warnings that appear or should be added to pandas labels Sep 9, 2024
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Oct 10, 2024
@rhshadrach rhshadrach marked this pull request as ready for review October 21, 2024 20:31
@rhshadrach rhshadrach added Groupby and removed Stale labels Oct 21, 2024
@rhshadrach rhshadrach added this to the 2.3 milestone Oct 21, 2024
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll admit I didn't track the full scope of this, but as far as the change from Deprecation to FutureWarning goes in 2.3 I would be on board.

I see this has been open for a while. Let's give @jorisvandenbossche a few days in case of any objection; otherwise can merge!

@jorisvandenbossche
Copy link
Member

I also assume we discussed the actual deprecation thoroughly before, and then +1 on updating it from DeprecationWarning to FutureWarning now.

@jorisvandenbossche
Copy link
Member

@rhshadrach can you add a brief whatsnew note for 2.3 (maybe just linking to the earlier whatsnew note about it). Users might still start seeing this when updating to 2.3, so it would be good to have some mention of it.

@mroeschke mroeschke merged commit a298795 into pandas-dev:2.3.x Oct 29, 2024
62 checks passed
@mroeschke
Copy link
Member

Thanks @rhshadrach

@rhshadrach rhshadrach deleted the groupby_apply_future_warning branch October 29, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform, Map Groupby Warnings Warnings that appear or should be added to pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants