-
Notifications
You must be signed in to change notification settings - Fork 908
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] Implement cudf::bin
#7517
Comments
@jrhemstad I've implemented a working prototype with the basic binning functionality, but before I move forward I'd like to suggest a couple of changes to the API:
|
|
|
@kkraus14 thanks for the info. Just met with Jake and we ironed out that key point that bins don't need to be contiguous, which I was missing. Under that constraint the original API seems like what we want, and I'm happy to forgo |
I think for the flavor of contiguous bins, because the libcudf api takes in |
This PR resolves #7517, implementing a binning feature in `libcudf` to support [pandas.cut](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.cut.html) in `cudf`. Authors: - Vyas Ramasubramani (@vyasr) Approvers: - AJ Schmidt (@ajschmidt8) - David (@davidwendt) - Jake Hemstad (@jrhemstad) - Nghia Truong (@ttnghia) URL: #7554
Is your feature request related to a problem? Please describe.
I would like a libcudf API that would allow for supporting the functionality of Pandas
cut
.Describe the solution you'd like
There are a few ways that Pandas supports
cut
, but I think the most generic way we can implement it is something like this:The text was updated successfully, but these errors were encountered: