DAGDA SEARCH | Back to results | Support

pyarrow.compute.unique — Apache Arrow v26.0.1

Source: https://arrow.apache.org/docs/python/generated/pyarrow.compute.unique.html

pyarrow.compute.unique#

pyarrow.compute.unique(array, /, *, memory_pool=None)#

Compute unique elements.

Return an array with distinct values. Nulls are considered as a distinct value as well.

Parameters:
arrayArray-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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

On this page Edit on GitHub