-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: array ufuncs with more than 2 inputs fails with 2 or more pd.Series and scalar arguments #48280
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small comment and needs whatsnew
otherwise lgtm
Can please have review. Thank. :) |
Please be patient, we will have a look when we have time |
Ok. Understand. Thank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small comment, otherwise lgtm.
I think you had a test for ufunc(ser, ser, 1)
with an earlier commit?
doc/source/whatsnew/v1.6.0.rst
Outdated
@@ -131,7 +131,7 @@ Timezones | |||
|
|||
Numeric | |||
^^^^^^^ | |||
- | |||
- Bug in cannot apply array ufunc operation when inputs are mixed with type DataFrame and type Series (:issue:`39853`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you reword? Not sure what this means
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have update
And the tests? |
|
? |
@phofl yes. Earlier commit has test ufunc(ser, ser, 1) and ufunc(df, df, 1). Already remove test ufunc(ser, ser, 1) because it almost the same. Do you think it is better I add ufunc(ser, ser, 1) test? |
We should cover all cases, so yes please add back in. It's easy to construct an implementation that allows ufunc(df, df, 1) but rejects ufunc(ser, ser, 1) |
Ok. Done |
thx @weikhor |
…ies and scalar arguments (pandas-dev#48280)
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.