pyarrow.compute.RunEndEncodeOptions

class pyarrow.compute.RunEndEncodeOptions(run_end_type=DataType(int32))

Bases: _RunEndEncodeOptions

Options for run-end encoding.

Parameters:
run_end_typeDataType, default pyarrow.int32()

The data type of the run_ends array.

Accepted values are pyarrow.{int16(), int32(), int64()}.

__init__(self, run_end_type=lib.int32())

Methods

__init__(self[, run_end_type])

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)