Skip to content

ENH: support non-nano in DTA._box_func #47299

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
Jun 10, 2022

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the Github issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

dta = DatetimeArray._simple_new(arr, dtype=arr.dtype)
dta = DatetimeArray._simple_new(arr, dtype=dtype)

# FIXME: assert (dti == dta).all()
Copy link
Member

Choose a reason for hiding this comment

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

Worth xfailing?

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 really; im already working on the next branch that sits on top of this

@mroeschke mroeschke added Datetime Datetime data dtype Non-Nano datetime64/timedelta64 with non-nanosecond resolution labels Jun 10, 2022
@mroeschke mroeschke added this to the 1.5 milestone Jun 10, 2022
@mroeschke mroeschke merged commit a93e8df into pandas-dev:main Jun 10, 2022
@jbrockmendel jbrockmendel deleted the nano-box_func branch June 10, 2022 19:36
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
* ENH: support reso in DTA._box_func

* mypy fixup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Non-Nano datetime64/timedelta64 with non-nanosecond resolution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants