-
-
Notifications
You must be signed in to change notification settings - Fork 26k
ENH cartesian accepts mixed dtypes arrays #25067
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
ENH cartesian accepts mixed dtypes arrays #25067
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.
Thank you for the fix!
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.
LGTM. Thanks @glemaitre
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.
LGTM. A few nitpicks.
Co-authored-by: Christian Lorentzen <[email protected]>
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.
LGTM as well assuming CI is green.
Auto merge would have been nice π |
I refrained myself very hard from saying this. Now that you have said it, I am not going to disagree π |
dw I'm the auto-merge bot π |
Co-authored-by: Christian Lorentzen <[email protected]>
Fixes issues found when submitting #25065
cartesian
was using thedtype
of the first array to decide thedtype
of the output array.Now, we select the most permissive
dtype
from the passed input arrays.I don't think that it was the original plan to support mixed
dtype
at first.