pyarrow.compute.SliceOptions#

classpyarrow.compute.SliceOptions(start,stop=None,step=1)#

Bases:_SliceOptions

Options for slicing.

Parameters:
startint

Index to start slicing at (inclusive).

stopint orNone, defaultNone

If given, index to stop slicing at (exclusive).If not given, slicing will stop at the end.

stepint, default 1

Slice step.

__init__(self,start,stop=None,step=1)#

Methods

__init__(self, start[, stop, step])

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