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

REF: remove unnecessary _try_cast calls #29642

Merged
merged 2 commits into from
Nov 16, 2019

Conversation

jbrockmendel
Copy link
Member

Orthogonal to #29641.

_try_cast is a no-op if passed a scalar, so is unnecessary for some reduction/aggregation ops. After #29641 i think we can get rid of more of these calls.

@jreback jreback added the Refactor Internal refactoring of code label Nov 16, 2019
@jreback jreback added this to the 1.0 milestone Nov 16, 2019
@jreback jreback merged commit ded50fd into pandas-dev:master Nov 16, 2019
@jreback
Copy link
Contributor

jreback commented Nov 16, 2019

great! love code removal!

@jbrockmendel jbrockmendel deleted the faster-gb8 branch November 16, 2019 22:19
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
Groupby Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants