Skip to content

TYP: Add typing for pd.to_timedelta, fix Timedelta operator return types #46343

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 19 commits into from
Mar 16, 2022

Conversation

Dr-Irv
Copy link
Contributor

@Dr-Irv Dr-Irv commented Mar 12, 2022

Add typing for pd.to_timedelta
Change operators on Timedelta to return Timedelta rather than timedelta

@Dr-Irv Dr-Irv changed the title Add typing for pd.to_timedelta, fix Timedelta operator return types TYP: Add typing for pd.to_timedelta, fix Timedelta operator return types Mar 12, 2022
@Dr-Irv Dr-Irv added Timedelta Timedelta data type Typing type annotations, mypy/pyright type checking labels Mar 12, 2022
@jreback jreback added this to the 1.5 milestone Mar 16, 2022
@jreback jreback merged commit 6a03ab7 into pandas-dev:main Mar 16, 2022
@jreback
Copy link
Contributor

jreback commented Mar 16, 2022

thanks @Dr-Irv

yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
@Dr-Irv Dr-Irv deleted the timedeltafixes branch February 13, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Timedelta Timedelta data type Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants