Skip to content

Conversation

@Dr-Irv
Copy link
Contributor

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

In the process of doing the types in the MS stubs, discovered that length and mid have really different return types for Interval and IntervalArray, so this PR fixes that by moving length and mid out of IntervalMixin

Not typing the rest of IntervalArray yet.

@Dr-Irv Dr-Irv requested a review from twoertwein March 22, 2022 13:20
@Dr-Irv Dr-Irv added Interval Interval data type Typing type annotations, mypy/pyright type checking labels Mar 22, 2022
@jreback jreback added this to the 1.5 milestone Mar 22, 2022
@jreback jreback merged commit 6d7e004 into pandas-dev:main Mar 22, 2022
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
@Dr-Irv Dr-Irv deleted the typintervalarray 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

Interval Interval data type Typing type annotations, mypy/pyright type checking

3 participants