Closed
Description
Describe the bug
A clear and concise description of what the bug is.
Series().apply().tolist()
errors with
error: "Series[Any]" not callable [operator]
after latest release.
To Reproduce
- Provide a minimal runnable
pandas
example that is not properly checked by the stubs. - Indicate which type checker you are using (
mypy
orpyright
). - Show the error message received from that type checker while checking your example.
s = pd.Series([1, 2, 3]).apply(lambda x: x).tolist()
error: "Series[Any]" not callable [operator]
Please complete the following information:
- OS: [e.g. Windows, Linux, MacOS] MacOS
- OS Version [e.g. 22] 12.5.1
- python version 3.10
- version of type checker mypy 0.960
- version of installed
pandas-stubs
[v1.4.4.220906]
Additional context
Add any other context about the problem here.