pyarrow.compute.TakeOptions#

class pyarrow.compute.TakeOptions(*, boundscheck=True)#

Bases: _TakeOptions

Options for the take and array_take functions.

Parameters:
boundscheckbool, default True

Whether to check indices are within bounds. If False and an index is out of bounds, behavior is undefined (the process may crash).

__init__(self, *, boundscheck=True)#

Methods

__init__(self, *[, boundscheck])

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