Skip to content

DEPR: remove deprecated units ‘H’, ’T’, and smaller from Timedelta, TimedeltaIndex #57627

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

natmokval
Copy link
Contributor

@natmokval natmokval commented Feb 25, 2024

xref #54061

removed deprecated units "H", "T", "S", "t", "L", "l", "U", "u", "N", "n" from Timedelta, TimedeltaIndex

UPDATE:

  • Enforced deprecation of strings T, t, L, l, U, u, and N, n denoting frequencies in classesMinute, Milli Micro, and Nano
  • Enforced deprecation of strings T, t, L, l, U, u, and N, n denoting units in class Timedelta

@natmokval natmokval added Deprecate Functionality to remove in pandas Timedelta Timedelta data type labels Feb 25, 2024
@natmokval natmokval marked this pull request as ready for review March 20, 2024 21:35
@natmokval natmokval requested a review from MarcoGorelli as a code owner March 20, 2024 21:35
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

nice one, thanks @natmokval !

@MarcoGorelli MarcoGorelli added this to the 3.0 milestone Mar 21, 2024
@MarcoGorelli MarcoGorelli merged commit 41383cf into pandas-dev:main Mar 21, 2024
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Deprecate Functionality to remove in pandas Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants