W3cubDocs

/Nushell

dfr reverse for lazyframe

Reverses the LazyFrame

Signature

> dfr reverse {flags}

Input/output types:

input output
any any

Examples

Reverses the dataframe

> [[ab]; [62] [42] [22]] |dfr into-df|dfr reverse
╭───┬───┬───╮
# │ a │ b │
├───┼───┼───┤
022
142
262
╰───┴───┴───╯

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

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/dfr_reverse.html