[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.run_end_encode.html [Back]  [Original]

pyarrow.compute.run_end_encode — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.compute.run_end_encode#

pyarrow.compute.run_end_encode(array, /, run_end_type=DataType(int32), *, options=None, memory_pool=None)#

Run-end encode array.

Return a run-end encoded version of the input array.

Parameters:
arrayArray-like

Argument to compute function.

run_end_typeDataType, default pyarrow.int32()

The data type of the run_ends array.

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

optionspyarrow.compute.RunEndEncodeOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.


Web Proxy Viewer  |  New URL  |  Original Page