dfr shift for dataframe or lazyframe> dfr shift {flags} (period)
--fill, -f {any}: Expression used to fill the null values (lazy df)period: shift period| input | output | 
|---|---|
| any | any | 
Shifts the values by a given period
> [12233] |dfr into-df|dfr shift2|dfr drop-nulls
╭───┬───╮
│# │ 0 │
├───┼───┤
│0│1│
│1│2│
│2│2│
╰───┴───╯
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_shift.html