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
Describe the bug
When I form the intersection of two pd.DatetimeIndex, the return type is Index. This leads to problems with index entries: mypy complains about intersection[0].date().
Describe the bug
When I form the
intersection
of twopd.DatetimeIndex
, the return type isIndex
. This leads to problems with index entries: mypy complains aboutintersection[0].date()
.To Reproduce
mypy
error message
reveal_type(intersection[0]) # Timestamp
Please complete the following information:
pandas-stubs
: 2.0.2.230605Additional context
Possibly related: #723
The text was updated successfully, but these errors were encountered: