Spec-Zone.ru › Nushell

polars selector unsigned-integer for expression

Select all unsigned integer columns.

Signature

> polars selector unsigned-integer {flags}

Input/output types:

input output
any polars_selector

Examples

Select all unsigned integer columns

> {
        "foo": ["x", "y"],
        "bar": [123, 200],
        "baz": [2.0, 5.5],
    } |
    polars into-df --as-columns -s {foo: str, bar: u8, baz: f32}|
    polars select (polars selector unsigned-integer) |
    polars collect
╭───┬─────╮
│ # │ bar │
├───┼─────┤
│ 0 │ 123 │
│ 1 │ 200 │
╰───┴─────╯

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

Spec-Zone.ru

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