-
Notifications
You must be signed in to change notification settings - Fork 912
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
Update check for inf/nan strings in libcudf float conversion to ignore case #9694
Update check for inf/nan strings in libcudf float conversion to ignore case #9694
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #9694 +/- ##
================================================
- Coverage 10.49% 10.47% -0.02%
================================================
Files 119 119
Lines 20305 20336 +31
================================================
Hits 2130 2130
- Misses 18175 18206 +31
Continue to review full report at Codecov.
|
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 small issue ( previous comment was before I found the logic that stripped -
or +
from before Nan/Inf
@gpucibot merge |
Reference https://github.com/rapidsai/cudf/pull/9613/files#r743579126
Add support to ignore case for strings
INF
,INFINITY
andNAN
tocudf::strings::is_float
andcudf::strings::to_float
for consistency with https://en.cppreference.com/w/cpp/string/basic_string/stofAlso, remove the expensive
replace
call in the cudf before calling this from Python.