Gather values by index
Description
Gather values by index
Usage
<Expr>$gather(indices)
Arguments
indices
|
R vector or Series, or Expr that leads to a Series of dtype Int64. (0-indexed) |
Value
Expr
Examples
#> shape: (4, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ i32 │
#> ╞═════╡
#> │ 1 │
#> │ 3 │
#> │ 5 │
#> │ 10 │
#> └─────┘