polars schema for dataframe
Show schema for a dataframe.
Signature
> polars schema {flags}
Flags
-
--datatype-list, -l: Creates a lazy dataframe.
Input/output types:
| input | output |
|---|---|
| any | record |
Examples
Dataframe schema
> [[a b]; [1 "foo"] [3 "bar"]] | polars into-df | polars schema ╭───┬─────╮ │ a │ i64 │ │ b │ str │ ╰───┴─────╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_schema.html