-
Notifications
You must be signed in to change notification settings - Fork 908
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
cudf::lists::distinct
in Python binding (#11234)
Python binding has `lists.unique()` API to extract unique list elements for the input lists column. Previously, it has been implemented by calling to `cudf::lists::drop_list_duplicates`, which performs segmented sort on the input lists and then extracts the unique list elements. This PR changes the implementation of `lists.unique()` to use `cudf::lists::distinct`, which can improve performance by using a hash table for finding distinct elements without segmented sort. Authors: - Nghia Truong (https://github.com/ttnghia) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: #11234
- Loading branch information
Showing
3 changed files
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters