Skip to content

DEPR deprecate pd.to_timedelta('1 M') and pd.to_timedelta('1 Y') #36666

Closed
@MarcoGorelli

Description

@MarcoGorelli

We have that pd.to_timedelta(1, unit='M') and pd.to_timedelta(1, unit='Y') are deprecated, and so so should these (xref #34979 (comment) ).

Once deprecated, the note added in #34979 should be removed

Metadata

Metadata

Labels

DeprecateFunctionality to remove in pandasTimedeltaTimedelta data type

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions