W3cubDocs

/Nushell

dfr dtypes for dataframe

Show dataframe data types.

Signature

> dfr dtypes {flags}

Input/output types:

input output
any any

Examples

Dataframe dtypes

> [[ab]; [12] [34]] |dfr into-df|dfr dtypes
╭───┬────────┬───────╮
│# │ column │ dtype │
├───┼────────┼───────┤
│0│a│i64│
│1│b│i64│
╰───┴────────┴───────╯

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_dtypes.html