mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 17:03:45 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
426 B
426 B
title | layout | version |
---|---|---|
dfr set | command | 0.59.0 |
Sets value where given mask is true
Signature
> dfr set (value) --mask
Parameters
value
: value to be inserted in series--mask {any}
: mask indicating insertions
Examples
Shifts the values by a given period
> let s = ([1 2 2 3 3] | dfr to-df | dfr shift 2);
let mask = ($s | dfr is-null);
$s | dfr set 0 --mask $mask