pyarrow.compute.TakeOptions#

classpyarrow.compute.TakeOptions(*,boundscheck=True)#

Bases:_TakeOptions

Options for thetake andarray_take functions.

Parameters:
boundscheckbool, defaultTrue

Whether to check indices are within bounds. If False and anindex is out of bounds, behavior is undefined (the processmay crash).

__init__(self,*,boundscheck=True)#

Methods

__init__(self, *[, boundscheck])

deserialize(buf)

Deserialize options for a function.

serialize(self)

staticdeserialize(buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#