Skip to content

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

Merged
merged 3 commits into from
Mar 19, 2022
Merged

CLN: assorted #46420

merged 3 commits into from
Mar 19, 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 Clean label Mar 18, 2022
@@ -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
Copy link
Member Author

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

Copy link
Member Author

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.

Copy link
Member

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

@jreback jreback added this to the 1.5 milestone Mar 18, 2022
@jbrockmendel
Copy link
Member Author

reverted Timedelta.freq removal, will do it The Right Way along with is_populated

@jreback jreback merged commit 171cdad into pandas-dev:main Mar 19, 2022
@jbrockmendel jbrockmendel deleted the fixmes43 branch March 19, 2022 18:14
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants