mirror of
https://github.com/nushell/nushell.git
synced 2024-12-03 22:06:54 +01:00
23 lines
299 B
Markdown
23 lines
299 B
Markdown
---
|
|
title: dfr shift
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Shifts the values by a given period
|
|
|
|
## Signature
|
|
|
|
```> dfr shift (period)```
|
|
|
|
## Parameters
|
|
|
|
- `period`: shift period
|
|
|
|
## Examples
|
|
|
|
Shifts the values by a given period
|
|
```shell
|
|
> [1 2 2 3 3] | dfr to-df | dfr shift 2 | dfr drop-nulls
|
|
```
|