roll left for filters> roll left {flags} 
--by, -b {int}: Number of columns to roll--cells-only, -c: rotates columns leaving headers fixed| input | output | 
|---|---|
| record | record | 
| table | table | 
Rolls columns of a record to the left
> {a:1b:2c:3} |roll left
╭───┬───╮
│b│2│
│c│3│
│a│1│
╰───┴───╯
Rolls columns of a table to the left
> [[abc]; [123] [456]] |roll left
╭───┬───┬───┬───╮
│# │ b │ c │ a │
├───┼───┼───┼───┤
│0│2│3│1│
│1│5│6│4│
╰───┴───┴───┴───╯
Rolls columns to the left without changing column names
> [[abc]; [123] [456]] |roll left--cells-only
╭───┬───┬───┬───╮
│# │ a │ b │ c │
├───┼───┼───┼───┤
│0│2│3│1│
│1│5│6│4│
╰───┴───┴───┴───╯
Tips: Command roll left was not included in the official binaries by default, you have to build it with --features=extra flag
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/roll_left.html