-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN: assorted #46420
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
CLN: assorted #46420
Conversation
pandas/_libs/tslibs/timedeltas.pxd
Outdated
@@ -11,7 +11,6 @@ cdef bint is_any_td_scalar(object obj) | |||
cdef class _Timedelta(timedelta): | |||
cdef readonly: | |||
int64_t value # nanoseconds | |||
object freq # frequency reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess this is an API change, could be done via a deprecation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if OK, i'll revert and then deprecate in a follow-up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. Yeah appears this is never set.
IMO is_populated
should be deprecated too and made private
reverted Timedelta.freq removal, will do it The Right Way along with is_populated |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.