Closed
Description
Describe the bug
Cannot access member "contains" for type "ExtensionArray"
Member "contains" is unknownPylance[reportGeneralTypeIssues](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportGeneralTypeIssues)
(function) contains: Unknown
To Reproduce
from pandas-dev/pandas#52616 (comment):
df = pd.DataFrame({'A': range(1, 10)})
obj = pd.Interval(1,4)
ser = pd.Series(obj, index=df.index)
arr = ser.array
arr.contains(df["A"])
Please complete the following information:
- OS: Linux
- OS Version Ubuntu 20.04.4 LTS
- python version 3.10.9
- version of type checker Pylance v2023.4.40
- version of installed
pandas-stubs
2.0.0.230412-py3-none-any