polars into-schema for dataframe
Convert a value to a polars schema object
Signature
> polars into-schema {flags}
Input/output types:
| input | output |
|---|---|
| any | polars_schema |
Examples
Convert a record into a schema and back to a nu object
> {a: str, b: u8} | polars into-schema | polars into-nu
╭───┬─────╮
│ a │ str │
│ b │ u8 │
╰───┴─────╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_into-schema.html