Skip to content

DEPR: Tick.delta #55498

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

Closed
jbrockmendel opened this issue Oct 12, 2023 · 0 comments · Fixed by #56558
Closed

DEPR: Tick.delta #55498

jbrockmendel opened this issue Oct 12, 2023 · 0 comments · Fixed by #56558
Labels
Deprecate Functionality to remove in pandas Frequency DateOffsets

Comments

@jbrockmendel
Copy link
Member

jbrockmendel commented Oct 12, 2023

Tick.delta was implemented back when we only supported nanos. It will overflow (with OverflowError instead of OutOfBoundsTimedelta) on very-large ticks. Better to avoid it altogether and tell users to do pd.Timedelta(tick).

@jbrockmendel jbrockmendel added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Oct 12, 2023
@lithomas1 lithomas1 added Frequency DateOffsets Deprecate Functionality to remove in pandas and removed Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Oct 12, 2023
@jbrockmendel jbrockmendel mentioned this issue Dec 19, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Frequency DateOffsets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants