pyarrow.compute.unique¶
-
pyarrow.compute.
unique
(array, *, memory_pool=None)¶ Compute unique elements.
Return an array with distinct values. Nulls in the input are ignored.
- Parameters
array (Array-like) – Argument to compute function
memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.