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
Runtime type is 'DataFrame'
Runtime type is 'Series'
Runtime type is 'Series'
but pyright produces
grbroll.py:14:13 - information: Type of "d1" is "Unknown"
grbroll.py:16:13 - information: Type of "s1" is "Unknown"
grbroll.py:18:13 - information: Type of "s2" is "Unknown"
Please complete the following information:
OS: Windows 10
python version: 3.9
version of type checker: pyright 1.1.313
version of installed pandas-stubs : 2.0.2.230605
Additional context
This will need some care to make sure that the types are done correctly. May have to move the def rolling from pandas-stubs/core/groupby/groupby.pyi to pandas-stubs/core/groupby/generic.pyi in DataFrameGroupby and SeriesGroupBy.
The text was updated successfully, but these errors were encountered:
Describe the bug
In this line:
pandas-stubs/pandas-stubs/core/groupby/groupby.pyi
Line 64 in 6fe90bb
we are not returning a
Rolling
object with the proper subtype ofSeries
orDataFrame
To Reproduce
at runtime produces
but pyright produces
Please complete the following information:
pandas-stubs
: 2.0.2.230605Additional context
This will need some care to make sure that the types are done correctly. May have to move the
def rolling
frompandas-stubs/core/groupby/groupby.pyi
topandas-stubs/core/groupby/generic.pyi
inDataFrameGroupby
andSeriesGroupBy
.The text was updated successfully, but these errors were encountered: