| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.compute.rank_normal.html | [Back] [Original] |
Section Navigation
Compute normal (gaussian) ranks of an array.
This function computes a normal (gaussian) rank of the input array. By default, null values are considered greater than any other value and are therefore sorted at the end of the input. For floating-point types, NaNs are considered greater than any other non-null value, but smaller than null values. The results are finite real values. They are obtained as if first calling the rank_quantile function and then applying the normal percent-point function (PPF) to the resulting quantile values.
The handling of nulls and NaNs can be changed in RankQuantileOptions.
Argument to compute function.
name, order, null_placement) tuples or str, default ascendingNames of field/column keys to sort the input on, along with the order each field/column is sorted in. Accepted values for order are ascending, descending. Accepted values for null_placement are at_start, at_end. The field name can be a string column name or expression. Alternatively, one can simply pass ascending or descending as a string if the input is array-like.
str | None, default NoneWhere nulls in input should be sorted. Accepted values are at_start, at_end.
pyarrow.compute.RankQuantileOptions, 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 |