Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
ttnghia committed Jul 11, 2022
1 parent 1f41fa5 commit a0440ec
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions python/cudf/cudf/_lib/lists.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ def explode_outer(
return columns_from_unique_ptr(move(c_result))


def drop_list_duplicates(Column col, bool nulls_equal, bool nans_all_equal):
"""
nans_all_equal == True indicates that libcudf should treat any two elements
from {+nan, -nan} as equal, and as unequal otherwise.
nulls_equal == True indicates that libcudf should treat any two nulls as
equal, and as unequal otherwise.
def distinct(Column col, bool nulls_equal, bool nans_all_equal):
"""
nulls_equal == True indicates that libcudf should treat any two nulls as equal, and as unequal otherwise.
nans_all_equal == True indicates that libcudf should treat any two elements from {-nan, +nan} as equal,
and as unequal otherwise.
"""
cdef shared_ptr[lists_column_view] list_view = (
make_shared[lists_column_view](col.view())
Expand Down

0 comments on commit a0440ec

Please sign in to comment.