-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack method - Unexpected keyword argument #925
Comments
Not a problem, because we only support the latest version of Thanks for the report. Given that PR with test welcome |
Describe the bug
Method
.stack
of dataframe is not fully typed, it misses argumentsort
andfuture_stack
To Reproduce
pandas
example that is not properly checked by the stubs.mypy
orpyright
).I am using mypy (1.10.0)
Please complete the following information:
pandas-stubs
2.2.2.240514Additional context
I'll be glad to open a PR to add those two arguments with some tests if that's ok for you, but I'm not entirely sure about what is the philosophy about pandas-stubs here. Since they are new arguments in 2.1, could it be bad to add those arguments in pandas stubs for someone who sill uses 2.0?
The text was updated successfully, but these errors were encountered: