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: Properly enforce group_keys defaulting to False in resample #52071

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

rhshadrach
Copy link
Member

  • 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.

Some things that were missed in enforcing the deprecation of #34998. Since lib.no_default is truthy, we were treating the default in resample as True rather than False.

@rhshadrach rhshadrach added Groupby Resample resample method Deprecate Functionality to remove in pandas labels Mar 19, 2023
@rhshadrach rhshadrach added this to the 2.0 milestone Mar 19, 2023
@phofl phofl merged commit c2ef58e into pandas-dev:main Mar 19, 2023
@phofl
Copy link
Member

phofl commented Mar 19, 2023

thx @rhshadrach

@lumberbot-app
Copy link

lumberbot-app bot commented Mar 19, 2023

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 2.0.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 c2ef58e55936668c81b2cc795d1812924236e1a6
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #52071: DEPR: Properly enforce group_keys defaulting to False in resample'
  1. Push to a named branch:
git push YOURFORK 2.0.x:auto-backport-of-pr-52071-on-2.0.x
  1. Create a PR against branch 2.0.x, I would have named this PR:

"Backport PR #52071 on branch 2.0.x (DEPR: Properly enforce group_keys defaulting to False in resample)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

@phofl
Copy link
Member

phofl commented Mar 19, 2023

@rhshadrach can you backport?

rhshadrach added a commit to rhshadrach/pandas that referenced this pull request Mar 19, 2023
@rhshadrach rhshadrach deleted the group_keys_resampler_depr branch March 19, 2023 20:06
phofl pushed a commit that referenced this pull request Mar 19, 2023
…alse in resample (#52078)

Backport PR #52071: DEPR: Properly enforce group_keys defaulting to False in resample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Groupby Resample resample method
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants