dfr fill-null
for lazyframe> dfr fill-null {flags} (fill)
fill
: Expression to use to fill the null valuesinput | output |
---|---|
any | any |
Fills the null values by 0
> [12233] |dfr into-df|dfr shift2|dfr fill-null0
╭───┬───╮
│# │ 0 │
├───┼───┤
│0│0│
│1│0│
│2│1│
│3│2│
│4│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_fill-null.html