-
Notifications
You must be signed in to change notification settings - Fork 904
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
[FEA] Series or DataFrame support for equivalent of numpy.isclose #5105
Comments
Could you use |
@paul-tqh-nguyen this would go from cudf --> cupy zero copy so it wouldn't cause any performance degradation. Could you give that a shot? |
Using My apologies; I should've looked there earlier. Thanks for the quick and helpful responses! |
One note that this won't handle null values so I'm going to reopen this to provide some syntactic sugar in cuDF surrounding the cupy function in the future. |
Is your feature request related to a problem? Please describe.
It's useful for testing to be able to perform the equivalent of numpy.isclose on instances of
cudf.DataFrame
andcudf.Series
.Describe the solution you'd like
This would be a nice thing to have:
Describe alternatives you've considered
Here's my current hand-rolled solution:
There's nothing wrong with using this approach pervasively. I figured it'd be more convenient to have
isclose
as a built-in method.I'm happy to help in whatever way I can.
The text was updated successfully, but these errors were encountered: