find_multiple

find_multiple#

2026-03-11

19 min read time

Applies to Linux

pylibhipdf.strings.find_multiple.find_multiple(Column input, Column targets, Stream stream=None) Column#

Returns a lists column with character position values where each of the target strings are found in each string.

For details, see cudf::strings::find_multiple().

Parameters#

inputColumn

Strings instance for this operation

targetsColumn

Strings to search for in each string

streamStream | None

CUDA stream on which to perform the operation.

Returns#

Column

Lists column with character position values

pylibhipdf.strings.find_multiple.contains_multiple(Column input, Column targets, Stream stream=None) Table#

Returns a table of boolean values where each column indicates whether the corresponding target is found at that row.

For details, see cudf::strings::contains_multiple().

Parameters#

inputColumn

Strings instance for this operation

targetsColumn

Strings to search for in each string

streamStream | None

CUDA stream on which to perform the operation.

Returns#

Table

Columns of booleans