polars reverse
for lazyframe
Reverses the LazyFrame
Signature
> polars reverse {flags}
Input/output types:
input | output |
---|---|
any | any |
Examples
Reverses the dataframe.
> [[a b]; [6 2] [4 2] [2 2]] | polars into-df | polars reverse
╭───┬───┬───╮
│ # │ a │ b │
├───┼───┼───┤
│ 0 │ 2 │ 2 │
│ 1 │ 4 │ 2 │
│ 2 │ 6 │ 2 │
╰───┴───┴───╯