W3cubDocs

/Nushell

dfr count-null for dataframe

Counts null values.

Signature

> dfr count-null {flags}

Input/output types:

input output
any any

Examples

Counts null values

>lets= ([1100334] |dfr into-df);
    ($s/$s) |dfr count-null
╭───┬────────────╮
# │ count_null │
├───┼────────────┤
02
╰───┴────────────╯

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_count-null.html