You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Series defined index and DataFrame defines index and columns as AxisProperty objects, which are property-like. These are not annotated as giving Index objects when accessed. I found in #51813 then when just adding index: Index to a mixin it caused 400ish mypy complaints elsewhere. The same thing happens if i add index: Index in NDFrame.
So it'd be nice if we can find a way to type AxisProperty.__get__ as returning an Index.
The text was updated successfully, but these errors were encountered:
Series defined index and DataFrame defines index and columns as
AxisProperty
objects, which are property-like. These are not annotated as giving Index objects when accessed. I found in #51813 then when just addingindex: Index
to a mixin it caused 400ish mypy complaints elsewhere. The same thing happens if i addindex: Index
in NDFrame.So it'd be nice if we can find a way to type
AxisProperty.__get__
as returning an Index.The text was updated successfully, but these errors were encountered: