Closed
Description
When using vectorized string methods, mypy returns the following error:
error: "ellipsis" not callable
Looking at the source code I see that in pandas-stubs/core/strings.pyi there is:
len = ...
lower = ...
upper = ...
title = ...
capitalize = ...
To Reproduce
import pandas
pandas.Series(["hello"]).str.len()
If I run mypy on this code I get:
error: "ellipsis" not callable
Versions
- Python 3.10.4
- mypy 0.971
- pandas-stubs 1.4.3.220718
Metadata
Metadata
Assignees
Labels
No labels