-
Notifications
You must be signed in to change notification settings - Fork 922
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
Adding cudf.cut method #8002
Adding cudf.cut method #8002
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8002 +/- ##
===============================================
Coverage ? 82.85%
===============================================
Files ? 110
Lines ? 18042
Branches ? 0
===============================================
Hits ? 14949
Misses ? 3093
Partials ? 0 Continue to review full report at Codecov.
|
Almost have the correct outcomes for most cases. At the moment I'm returning a |
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.
Just some more nitpicks. Looking great!
Co-authored-by: Michael Wang <[email protected]>
Co-authored-by: Michael Wang <[email protected]>
Co-authored-by: Michael Wang <[email protected]>
Co-authored-by: Michael Wang <[email protected]>
Hi @isVoid, I've pushed the updated code. If it looks good to you, could you approve so we can merge this 😄 |
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.
minor things, rest looks good
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.
Aside from one small point synced off line at line 171
Co-authored-by: Ram (Ramakrishna Prabhu) <[email protected]>
Co-authored-by: Ram (Ramakrishna Prabhu) <[email protected]>
Co-authored-by: Ram (Ramakrishna Prabhu) <[email protected]>
@gpucibot merge |
This PR aims to add `bins` to `Series.value counts` in cudf. It contributes towards addressing [issue 1061](#1061). This issue also depends on the completion of `cudf.cut` and includes changes that are being reviewed in PR #8002 Authors: - Marlene (https://github.com/marlenezw) - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #8247
Can we have it support multiple columns? |
Hi @parmarsuraj99, could you please raise an issue describing your request? That will help get it visibility. |
This PR aims to add the cut method to cudf. Cut in CuDF will mirror pandas.cut and will be useful to use in
hist
.It also builds off of the
interval
andIntervalIndex
.