We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#13034 introduced a regression when attempting to multiply decimal columns and scalars:
from decimal import Decimal import cudf cudf.Series([1, 2, 3, 4], dtype=cudf.Decimal128Dtype(38, 0)) * Decimal('100.0') # ValueError: scale=-39 exceeds precision=38
The problematic change is this line:
0b59fda#diff-ab0b6c0cb47275bf318fb8392675fe9f1e17ec9b0b31a5a2d8c9440d503d0c89R160
We shouldn't try to cast the scalar to the same data type as the input in every situation.
The text was updated successfully, but these errors were encountered:
Enable mixed-dtype decimal/scalar binary operations (#13171)
5df4367
Also closes #13170 Authors: - Ashwin Srinath (https://github.com/shwina) - Lawrence Mitchell (https://github.com/wence-) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - Charles Blackmon-Luca (https://github.com/charlesbluca) URL: #13171
shwina
Successfully merging a pull request may close this issue.
#13034 introduced a regression when attempting to multiply decimal columns and scalars:
The problematic change is this line:
0b59fda#diff-ab0b6c0cb47275bf318fb8392675fe9f1e17ec9b0b31a5a2d8c9440d503d0c89R160
We shouldn't try to cast the scalar to the same data type as the input in every situation.
The text was updated successfully, but these errors were encountered: