Skip to content

BUG: maybe_promote with dt64tz and mismatched NA #39743

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 4 commits into from
Feb 12, 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

@jreback jreback added Bug Dtype Conversions Unexpected or buggy dtype conversions labels Feb 11, 2021
@jreback
Copy link
Contributor

jreback commented Feb 11, 2021

user facing?

@jbrockmendel
Copy link
Member Author

user facing?

trying to track this down; many of the cases that would be affected go through DTA/TDA/PA methods instead of maybe_promote

@jbrockmendel
Copy link
Member Author

user facing?

so far it looks like the answer is "no", but that the reason involves incorrect NAs being ignored somewhere else that i need to track down separately

@jbrockmendel
Copy link
Member Author

user facing?

increasingly looking like "no"

@jbrockmendel
Copy link
Member Author

OK im now almost positive there is nothing user-facing bc 1) the only currently-incorrect case is in the dt64tz path and 2) that path is AFAICT not reachable by any of the non-test uses of maybe_promote

@jreback jreback added this to the 1.3 milestone Feb 12, 2021
@jreback
Copy link
Contributor

jreback commented Feb 12, 2021

ok can you rebase

@jbrockmendel
Copy link
Member Author

rebased + green (no longer a bugfix, just a refactor)

@jreback jreback merged commit eda7592 into pandas-dev:master Feb 12, 2021
@jbrockmendel jbrockmendel deleted the ref-maybe_promote-na branch February 12, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants