Bottom k values
Description
Return the k
smallest elements. This has time complexity:
O(n + k \log{}n - )
Usage
<Expr>$bottom_k(k)
Arguments
k
|
Number of top values to get. |
Value
Expr
Examples
#> shape: (5, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ f64 │
#> ╞═════╡
#> │ 6.0 │
#> │ 1.0 │
#> │ 0.0 │
#> │ inf │
#> │ NaN │
#> └─────┘