Skip to content

REF: groupby remove _selection_name #41401

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 3 commits into from
May 12, 2021

Conversation

jbrockmendel
Copy link
Member

We use self._selected_obj and self._obj_with_exclusions in different places with no clear distinction as to when to use which. I think in pretty much all cases we really want obj_with_exclusions, am moving towards pinning that down.

The only non-trivial thing here is getting rid of pinning _selection in here. We have no tests that reach that. I can cook up a case that gets there, but haven't found any cases where removing it actually changes anything.

@@ -1042,6 +1029,16 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)

agg = aggregate

@property
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm can you kill this last one?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure

Copy link
Member Author

Choose a reason for hiding this comment

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

updated + green

@jreback jreback added this to the 1.3 milestone May 12, 2021
@jreback jreback merged commit fc8781b into pandas-dev:master May 12, 2021
@jreback
Copy link
Contributor

jreback commented May 12, 2021

great

@jbrockmendel jbrockmendel deleted the cln-selection_name branch May 12, 2021 01:37
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants