You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
the diff overload doesn't seem exactly right for nullable types
To Reproduce
importpandasaspds: "pd.Series[bool]"=pd.Series([True, False], dtype='bool[pyarrow]')
reveal_type(s) # Type of "s" is "Series[bool]"reveal_type(s.diff()) # Type of "s.diff()" is "Series[type[object]]"