Closed
Description
Minimal Reproducible Example:
import pandas as pd
df = pd.DataFrame([[1, 2.12], [3.356, 4.567]])
df.map(lambda x: len(str(x)))
Versions:
pandas 2.1.0
pandas-stubs 2.0.3.230814
mypy 1.5.1
Additional information:
- OS: Windows
- OS Version 11
- python version 3.11.1
Error message:
4: error: "Series[Any]" not callable [operator]