Closed chrisyeh96 closed 1 month ago
Thanks for the report. Need to remove def count()
from core/groupby/groupby.pyi
and then restate it in core/groupby/generic.pyi
in both the DataFrameGroupBy
and SeriesGroupBy
classes.
PR with tests welcome.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Type checker: pyright (in VS Code)
The expected type is
Series[int]
, but instead pyright shows it asSeries[str]
Please complete the following information:
pandas-stubs
: 2.2.2.240603