pyarrow.compute.RunEndEncodeOptions#
- class pyarrow.compute.RunEndEncodeOptions(run_end_type=DataType(int32))#
Bases:
_RunEndEncodeOptions
Options for run-end encoding.
- Parameters:
- run_end_type
DataType
, defaultpyarrow.int32
() The data type of the run_ends array.
Accepted values are pyarrow.{int16(), int32(), int64()}.
- run_end_type
- __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:
- buf
Buffer
The buffer containing the data to deserialize.
- buf
- serialize(self)#