| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/api/../generated/pyarrow.compute.inverse_permutation.html | [Back] [Original] |
Section Navigation
Return the inverse permutation of the given indices.
For the i-th index in indices, the index-th output is i
Argument to compute function.
int64, default -1The max value in the input indices to allow. The length of the functions output will be this value plus 1. If negative, this value will be set to the length of the input indices minus 1 and the length of the functions output will be the length of the input indices.
DataType, default NoneThe data type for the output array of inverse permutation. If None, the output will be of the same type as the input indices, otherwise must be a signed integer type. An invalid error will be reported if this type is not able to store the length of the input indices.
pyarrow.compute.InversePermutationOptions, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |