Skip to content

Remove properties from groupby whitelists #17600

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 2 commits into from

Conversation

jbrockmendel
Copy link
Member

This is a small piece broken off of #17179, keeping a modicum of forward momentum going.

  • closes #xxxx
  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@gfyoung gfyoung added Clean Internals Related to non-user accessible pandas implementation Groupby and removed Internals Related to non-user accessible pandas implementation labels Sep 20, 2017
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.

i would rather generate these methods than hand code them.

@jreback jreback closed this Sep 21, 2017
@jbrockmendel
Copy link
Member Author

We discussed this back in #17179. Generating these methods is several distinct types of bad, hides bugs like #17608.

@jreback
Copy link
Contributor

jreback commented Sep 22, 2017

generating these the current method I agree. However using a real function definition is the correct methodology here; see how we do generated functions in https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L6568

all with proper doc-strings and such.

@jbrockmendel jbrockmendel deleted the groupby_magic4 branch September 22, 2017 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants