pd.Index().shift() claims to return None #1181
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
good first issue
Index
Related to the Index class or subclasses
Describe the bug
The stubs claim that shift returns None, when it returns a pd.Index of the same type as the original_index
To Reproduce
I get this mypy error:
Please complete the following information:
The text was updated successfully, but these errors were encountered: