Skip to content

Conversation

@jbrockmendel
Copy link
Member

cc @jreback @WillAyd

There are a few ways in which we incorrectly raise TypeError within _python_agg_general that this fixes.

A lot of the complexity in this code comes from the fact that we drop columns on which a function is invalid instead of requiring the user to subset columns.

@WillAyd
Copy link
Member

WillAyd commented Nov 6, 2019

This does conflict with #29124 - wonder if that would have any material impact on exception catching here (maybe, maybe not)

@gfyoung gfyoung added Groupby Internals Related to non-user accessible pandas implementation Error Reporting Incorrect or improved errors from pandas labels Nov 6, 2019
@jreback jreback added this to the 1.0 milestone Nov 6, 2019
@jreback jreback merged commit 08087d6 into pandas-dev:master Nov 6, 2019
@jbrockmendel jbrockmendel deleted the faster55 branch November 6, 2019 21:33
Reksbril pushed a commit to Reksbril/pandas that referenced this pull request Nov 18, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Error Reporting Incorrect or improved errors from pandas Groupby Internals Related to non-user accessible pandas implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants