Skip to content
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

DEPR: Timedelta.freq, Timedelta.is_populated #46430

Merged
merged 4 commits into from Mar 20, 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.

@property
def freq(self):
# GH#46430
warnings.warn(
Copy link
Contributor

Choose a reason for hiding this comment

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

what does this do if its called? return None?

Copy link
Member Author

Choose a reason for hiding this comment

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

correct

Copy link
Contributor

Choose a reason for hiding this comment

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

can you make that explcit (and add the annotation)

@jreback jreback added Frequency DateOffsets Deprecate Functionality to remove in pandas labels Mar 19, 2022
@jreback
Copy link
Contributor

jreback commented Mar 19, 2022

is there an issue for this (don't create one) but IIRC there is?

@jbrockmendel
Copy link
Member Author

is there an issue for this (don't create one) but IIRC there is?

No, @mroeschke suggested it in #46420

@jreback jreback added this to the 1.5 milestone Mar 19, 2022
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 pending green

pandas/_libs/tslibs/timedeltas.pyi Show resolved Hide resolved
@jreback jreback merged commit 3f366e4 into pandas-dev:main Mar 20, 2022
@jbrockmendel jbrockmendel deleted the depr-td-freq branch March 20, 2022 18:47
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
Deprecate Functionality to remove in pandas Frequency DateOffsets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants