W3cubDocs

/Nushell

dfr str-lengths for dataframe

Get lengths of all strings.

Signature

> dfr str-lengths {flags}

Input/output types:

input output
any any

Examples

Returns string lengths

> [aababc] |dfr into-df|dfr str-lengths
╭───┬───╮
# │ 0 │
├───┼───┤
01
12
23
╰───┴───╯

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_str-lengths.html