W3cubDocs

/Nushell

roll down for filters

Roll table rows down.

Signature

> roll down {flags}

Flags

  • --by, -b {int}: Number of rows to roll

Input/output types:

input output
table table

Examples

Rolls rows down of a table

> [[ab]; [12] [34] [56]] |roll down
╭───┬───┬───╮
# │ a │ b │
├───┼───┼───┤
056
112
234
╰───┴───┴───╯

Tips: Command roll down 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_down.html