Skip to content

DEPR: apply/agg using agg/apply #42833

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

Closed
wants to merge 4 commits into from

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach commented Jul 31, 2021

  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

A possible step toward #35725. Internally, agg may use apply and apply may use agg. Straightening these out so that agg always uses agg and apply always uses apply before changing the behavior of agg (without impacting apply).

This PR emits FutureWarning but with (a) no alternative to not get the warning and (b) no clear way for users to know what the future result may be (it may not even change). The only alternative ways forward I see here are

a. Change behavior with no warning
b. An option to switch between old/new implementation of apply/agg/transform as mentioned in #41112

@jreback jreback added Apply Apply, Aggregate, Transform, Map Deprecate Functionality to remove in pandas labels Aug 5, 2021
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

will look soon

@rhshadrach rhshadrach closed this Aug 12, 2021
@rhshadrach rhshadrach deleted the depr_agg_apply_paths branch October 19, 2021 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apply Apply, Aggregate, Transform, Map Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants