Spec-Zone.ru › Nushell

polars lowercase for dataframe

Lowercase the strings in the column.

Signature

> polars lowercase {flags}

Input/output types:

input output
polars_dataframe polars_dataframe
polars_lazyframe polars_lazyframe
polars_expression polars_expression

Examples

Modifies strings in a column to lowercase

> [[a]; [Abc]] | polars into-df | polars select (polars col a | polars lowercase) | polars collect
╭───┬─────╮
│ # │  a  │
├───┼─────┤
│ 0 │ abc │
╰───┴─────╯

Modifies strings to lowercase

> [Abc aBc abC] | polars into-df | polars lowercase
╭───┬─────╮
│ # │  0  │
├───┼─────┤
│ 0 │ abc │
│ 1 │ abc │
│ 2 │ abc │
╰───┴─────╯

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_lowercase.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API