Open
Description
Describe the bug
A clear and concise description of what the bug is.
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.
import pandas as pd
reveal_type(pd.Series([1,2,3], dtype='Int64').diff())
# note: Revealed type is "pandas.core.series.Series[builtins.float]"
Please complete the following information:
- OS: [e.g. Windows, Linux, MacOS] linux
- OS Version [e.g. 22] 22.04
- python version 3.12.5
- version of type checker mypy 1.15
- version of installed
pandas-stubs
2.2.3.241126
Additional context
noticed looking into #1108