Skip to content

CLN: prevent libreduction TypeError #29228

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 2 commits into from
Oct 29, 2019
Merged

Conversation

jbrockmendel
Copy link
Member

@@ -641,12 +641,15 @@ def curried(x):
# if we don't have this method to indicated to aggregate to
# mark this column as an error
try:
return self._aggregate_item_by_item(name, *args, **kwargs)
result = self._aggregate_item_by_item(name, *args, **kwargs)
Copy link
Member

Choose a reason for hiding this comment

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

Can we just replace this function altogether with _python_agg_general? Conceptually it would seem like they do the same thing, though the former would actually be generic across Series and DataFrame

Copy link
Member Author

Choose a reason for hiding this comment

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

I haven't checked specifically, but I'm hoping we can trim these before long

@jreback jreback added the Clean label Oct 29, 2019
@jreback jreback added this to the 1.0 milestone Oct 29, 2019
@jreback jreback merged commit 1f67a70 into pandas-dev:master Oct 29, 2019
@jreback
Copy link
Contributor

jreback commented Oct 29, 2019

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the faster48 branch October 29, 2019 16:18
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants