pyarrow.compute.inverse_permutation#
- pyarrow.compute.inverse_permutation(indices, /, *, memory_pool=None)#
Return the inverse permutation of the given indices.
For the i-th index in indices, the index-th output is i
- Parameters:
- indicesArray-like
Argument to compute function.
- memory_pool
pyarrow.MemoryPool, optional If not passed, will allocate memory from the default memory pool.