search#
- pylibcudf.search.contains(Column haystack, Column needles) Column #
Check whether needles are present in haystack.
For details, see
contains()
.- Parameters:
- haystackTable
The search space.
- needlesTable
The values for which to search.
- Returns:
- Column
Boolean indicator for each needle.
- pylibcudf.search.lower_bound(Table haystack, Table needles, list column_order, list null_precedence) Column #
Find smallest indices in haystack where needles may be inserted to retain order.
For details, see
lower_bound()
.- Parameters:
- haystackTable
The search space.
- needlesTable
The values for which to find insertion points.
- column_orderList[ColumnOrder]
Whether each column should be sorted in ascending or descending order.
- null_precedenceList[NullOrder]
Whether nulls should come before or after non-nulls.
- Returns:
- Column
The insertion points
- pylibcudf.search.upper_bound(Table haystack, Table needles, list column_order, list null_precedence) Column #
Find largest indices in haystack where needles may be inserted to retain order.
For details, see
upper_bound()
.- Parameters:
- haystackTable
The search space.
- needlesTable
The values for which to find insertion points.
- column_orderList[ColumnOrder]
Whether each column should be sorted in ascending or descending order.
- null_precedenceList[NullOrder]
Whether nulls should come before or after non-nulls.
- Returns:
- Column
The insertion points