Skip to content

REF: dont call maybe_promote with EA dtype #44606

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
Nov 25, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

maybe_promote is only supposed to take np.dtype arg, messes up when if we were to pass a PeriodDtype (which we don't get here with ATM, but im working towards)

@jreback jreback added Dtype Conversions Unexpected or buggy dtype conversions Refactor Internal refactoring of code labels Nov 25, 2021
@jreback jreback added this to the 1.4 milestone Nov 25, 2021
@jreback jreback merged commit b8a8049 into pandas-dev:master Nov 25, 2021
@jbrockmendel jbrockmendel deleted the ref-maybe_promote-only-np branch November 25, 2021 16:06
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