Function polars::prelude::sort::arg_bottom_k::_arg_bottom_k
source ยท pub fn _arg_bottom_k(
k: usize,
by_column: &[Series],
sort_options: &mut SortMultipleOptions
) -> Result<NoNull<ChunkedArray<UInt32Type>>, PolarsError>
Expand description
Return the indices of the bottom k elements.
Similar to .argsort() then .slice(0, k) but with a more efficient implementation.