Function arrow::compute::sort_to_indices
source · pub fn sort_to_indices(
values: &Arc<dyn Array + 'static>,
options: Option<SortOptions>,
limit: Option<usize>
) -> Result<PrimitiveArray<UInt32Type>, 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