pyarrow.compute.ReplaceSubstringOptions#
- class pyarrow.compute.ReplaceSubstringOptions(pattern, replacement, *, max_replacements=None)#
Bases:
_ReplaceSubstringOptions
Options for replacing matched substrings.
- Parameters:
- __init__(self, pattern, replacement, *, max_replacements=None)#
Methods
__init__
(self, pattern, replacement, *[, ...])deserialize
(buf)Deserialize options for a function.
serialize
(self)- static deserialize(buf)#
Deserialize options for a function.
- Parameters:
- buf
Buffer
The buffer containing the data to deserialize.
- buf
- serialize(self)#