Function arrow_ord::sort::sort_to_indices
source · pub fn sort_to_indices(
array: &dyn Array,
options: Option<SortOptions>,
limit: Option<usize>
) -> Result<UInt32Array, ArrowError>
Expand description
Sort elements from ArrayRef
into an unsigned integer (UInt32Array
) of indices.
For floating point arrays any NaN values are considered to be greater than any other non-null value.
limit
is an option for partial_sort.