Skip to content

clean: Groupby deprecations #1143

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

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

MarcoGorelli
Copy link
Member

  • Closes #xxxx (Replace xxxx with the Github issue number)

  • Tests added: Please use assert_type() to assert the type of any return value

  • axis has been deprecated from groupby methods (https://github.com/pandas-dev/pandas/pull/57109/files)

  • corrwith has been deprecated on pandas main - is it OK to already remove it from here, or should that wait until 3.0 actually comes out?

  • grouped fillna has been deprecated since 2.2

@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 2, 2025 17:32
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @MarcoGorelli

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Mar 3, 2025

Thanks for picking that up.

  • corrwith has been deprecated on pandas main - is it OK to already remove it from here, or should that wait until 3.0 actually comes out?

Yes, we might as well be discouraging its use as soon as we can.

  • grouped fillna has been deprecated since 2.2

Yes, thanks for picking that up.

@Dr-Irv Dr-Irv merged commit d7be7c3 into pandas-dev:main Mar 3, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants