-
Notifications
You must be signed in to change notification settings - Fork 919
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
Expose half_up rounding in cuDF #8477
Expose half_up rounding in cuDF #8477
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.
Tiny nit, rest is good.
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8477 +/- ##
===============================================
Coverage ? 82.84%
===============================================
Files ? 109
Lines ? 17917
Branches ? 0
===============================================
Hits ? 14843
Misses ? 3074
Partials ? 0 Continue to review full report at Codecov.
|
@@ -29,13 +29,16 @@ def round(Column input_col, int decimal_places=0): | |||
|
|||
cdef column_view input_col_view = input_col.view() | |||
cdef unique_ptr[column] c_result | |||
|
|||
cdef cpp_rounding_method c_how = ( |
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.
will there ever be more than 2 rounding methods? if so, we might create a breaking change for anyone who mis-spelled the non-default argument.
in that case, I'd suggest throwing an error if either of these rounding methods are not an exact match, so that breaking change scenario can never happen.
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.
Fixed
@gpucibot merge |
No description provided.