Skip to content

ENH: liboffsets support non-nano #47076

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 5 commits into from
May 22, 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 an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@jreback jreback added the Non-Nano datetime64/timedelta64 with non-nanosecond resolution label May 21, 2022
@mroeschke mroeschke added this to the 1.5 milestone May 22, 2022
f"DateOffset subclass {type(self).__name__} "
"does not have a vectorized implementation"
)
warnings.warn("'Offset.apply_index(other)' is deprecated. "
Copy link
Member

Choose a reason for hiding this comment

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

Probably need a whatsnew note about this since it appears DateOffset.apply_index is publicly documented:https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.tseries.offsets.DateOffset.apply_index.html

Copy link
Member Author

Choose a reason for hiding this comment

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

the warning was previously issued in the decorator which this PR removed

Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

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

LGTM. If you could address #47076 (comment) in a follow up PR that would be great.

@mroeschke mroeschke merged commit b3dee36 into pandas-dev:main May 22, 2022
@jbrockmendel jbrockmendel deleted the ref-non-nano-offsets branch May 22, 2022 20:28
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
* ENH: liboffsets support non-nano

* fix non-mac buildS

* mypy fixup

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

Successfully merging this pull request may close these issues.

3 participants