pyarrow.run_end_encoded — Apache Arrow v20.0.0 (original) (raw)

pyarrow.run_end_encoded(run_end_type, value_type)#

Create RunEndEncodedType from run-end and value types.

Parameters:

run_end_typepyarrow.DataType

The integer type of the run_ends array. Must be ‘int16’, ‘int32’, or ‘int64’.

value_typepyarrow.DataType

The type of the values array.

Returns:

typeRunEndEncodedType