Skip to content

BUG: np.isinf, np.isfinite, np.isnan with DTI[dt64tz] #43917

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
Oct 10, 2021

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Oct 7, 2021

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

@jreback
Copy link
Contributor

jreback commented Oct 7, 2021

pandas/core/arrays/base.py:1394: error: "ExtensionArray" has no attribute "_data" [attr-defined]

from this PR?

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

jreback commented Oct 7, 2021

user facing?

@jbrockmendel
Copy link
Member Author

user facing?

yes, will add whatsnew

@jbrockmendel
Copy link
Member Author

updated + green

@jreback jreback added this to the 1.4 milestone Oct 8, 2021
and func in [np.isfinite, np.isnan, np.isinf]
):
mark = pytest.mark.xfail(reason="__array_ufunc__ is not defined")
request.node.add_marker(mark)
Copy link
Contributor

Choose a reason for hiding this comment

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

can you remove the if/else here entirely?

Copy link
Member Author

Choose a reason for hiding this comment

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

not AFAICT no

@jreback jreback merged commit f3fbd0f into pandas-dev:master Oct 10, 2021
@jbrockmendel jbrockmendel deleted the bug-np.isinf branch October 10, 2021 18:06
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