pyarrow.compute.MatchSubstringOptions

class pyarrow.compute.MatchSubstringOptions(pattern, *, ignore_case=False)

Bases: pyarrow._compute._MatchSubstringOptions

Options for looking for a substring.

Parameters
patternstr

Substring pattern to look for inside input values.

ignore_casebool, default False

Whether to perform a case-insensitive match.

__init__(self, pattern, *, ignore_case=False)

Methods

__init__(self, pattern, *[, ignore_case])

deserialize(buf)

Deserialize options for a function.

serialize(self)

static deserialize(buf)

Deserialize options for a function.

Parameters
bufBuffer

The buffer containing the data to deserialize.

serialize(self)