Get the index of the first unique value
Description
Get the index of the first unique value
Usage
<Expr>$arg_unique()
Value
A polars expression
Examples
#> shape: (3, 1)
#> ┌─────┐
#> │ a │
#> │ --- │
#> │ u32 │
#> ╞═════╡
#> │ 0 │
#> │ 1 │
#> │ 2 │
#> └─────┘
#> shape: (2, 1)
#> ┌─────┐
#> │ b │
#> │ --- │
#> │ u32 │
#> ╞═════╡
#> │ 0 │
#> │ 1 │
#> └─────┘