dfr reverse
for lazyframe
Reverses the LazyFrame
Signature
> dfr reverse
Input/output types:
input | output |
---|---|
any | any |
Examples
Reverses the dataframe
> [[a b]; [6 2] [4 2] [2 2]] | dfr into-df | dfr reverse
╭───┬───┬───╮
│ # │ a │ b │
├───┼───┼───┤
│ 0 │ 2 │ 2 │
│ 1 │ 4 │ 2 │
│ 2 │ 6 │ 2 │
╰───┴───┴───╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag