-
Notifications
You must be signed in to change notification settings - Fork 915
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
Enable mixed-dtype decimal/scalar binary operations #13171
Enable mixed-dtype decimal/scalar binary operations #13171
Conversation
Note to reviewers: this PR removes some previously xfailing tests. |
/merge |
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.
One query
metadata = other.as_tuple() | ||
precision = max(len(metadata.digits), metadata.exponent) | ||
scale = -metadata.exponent | ||
return cudf.Scalar( |
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.
If other
is Decimal
should this not somehow end up going through the same normalisation as above with cudf.Scalar
with decimal dtypes? Or does it not matter?
I'm pretty shaky on all the decimal stuff though, so ...
Merged trunk which will hopefully fix the wheelbuild fails. |
Also closes #13170