Skip to content

REF: simplify maybe_upcast #38428

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
Dec 12, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

It reduces to a 2-liner. It is currently used in 4 places, 2 of which I'm looking to remove in the near future. At that point it will make sense to inline those 2 lines and remove maybe_upcast entirely.

@jreback jreback added Dtype Conversions Unexpected or buggy dtype conversions Refactor Internal refactoring of code labels Dec 12, 2020
@jreback jreback added this to the 1.3 milestone Dec 12, 2020
@jreback jreback merged commit 0e22585 into pandas-dev:master Dec 12, 2020
@jbrockmendel jbrockmendel deleted the cln-maybe_upcast branch December 13, 2020 00:02
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants