Closed
Description
Describe the bug
Depending on the boolean as_index
, methods on groupby objects will return different type.
This is a follow up for #203,
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.
Please complete the following information:
- OS: [e.g. Windows, Linux, MacOS]
- OS Version [e.g. 22]
- python version
- version of type checker
- version of installed
pandas-stubs
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels