搜索#
- pylibcudf.search.contains(Column haystack, Column needles) Column #
检查 haystack 中是否存在 needles。
详情请参阅
contains()
。- 参数:
- haystackTable
搜索空间。
- needlesTable
要搜索的值。
- 返回:
- Column
每个 needle 的布尔指示符。
- pylibcudf.search.lower_bound(Table haystack, Table needles, list column_order, list null_precedence) Column #
查找 haystack 中 needles 可插入以保持顺序的最小索引。
详情请参阅
lower_bound()
。- 参数:
- haystackTable
搜索空间。
- needlesTable
要查找插入点的值。
- column_orderList[ColumnOrder]
每列应按升序还是降序排序。
- null_precedenceList[NullOrder]
空值应在非空值之前还是之后。
- 返回:
- Column
插入点
- pylibcudf.search.upper_bound(Table haystack, Table needles, list column_order, list null_precedence) Column #
查找 haystack 中 needles 可插入以保持顺序的最大索引。
详情请参阅
upper_bound()
。- 参数:
- haystackTable
搜索空间。
- needlesTable
要查找插入点的值。
- column_orderList[ColumnOrder]
每列应按升序还是降序排序。
- null_precedenceList[NullOrder]
空值应在非空值之前还是之后。
- 返回:
- Column
插入点