dfr arg-unique for dataframe

Returns indexes for unique values.

WARNING

Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

Signature

> dfr arg-unique {flags}

Input/output types:

inputoutput
anyany

Examples

Returns indexes for unique values

> [1 2 2 3 3] | dfr into-df | dfr arg-unique
╭───┬────────────╮
 # │ arg_unique │
├───┼────────────┤
 0          0
 1          1
 2          3
╰───┴────────────╯