pyarrow.compute.TrimOptions#

class pyarrow.compute.TrimOptions(characters)#

Bases: pyarrow._compute._TrimOptions

Options for trimming characters from strings.

Parameters
charactersstr

Individual characters to be trimmed from the string.

__init__(self, characters)#

Methods

__init__(self, characters)

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)#