-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TYP return type of DataFrame.clip not correct #40829
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
Comments
take |
Hey, so I've changed the return type to |
See |
Yep, PR probably out tomorrow. |
Awesome, feel free to ping if you get stuck on anything |
@MarcoGorelli Did you mean that the return type is supposed to be |
My bad, I meant |
pandas/pandas/core/generic.py
Lines 7449 to 7458 in 094f630
Return type should be
Optional[FrameOrSeriesUnion]
It could also do with being overloaded according to the value of
inplace
- seeset_axis
andDataFrame.reset_index
for examplesThe text was updated successfully, but these errors were encountered: