dfr set-with-idx for dataframe> dfr set-with-idx {flags} (value)
--indices, -i {any}: list of indices indicating where to set the valuevalue: value to be inserted in series| input | output | 
|---|---|
| any | any | 
Set value in selected rows from series
>letseries= ([415243] |dfr into-df);
letindices= ([02] |dfr into-df);
$series|dfr set-with-idx6-i$indices
╭───┬───╮
│# │ 0 │
├───┼───┤
│0│6│
│1│1│
│2│6│
│3│2│
│4│4│
│5│3│
╰───┴───╯
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_set-with-idx.html