polars selector signed-integer для выражения
Выбрать все столбцы со знаковыми целыми числами.
Сигнатура
> polars selector signed-integer {flags}
Типы входных и выходных данных:
| вход | выход |
|---|---|
| any | polars_selector |
Примеры
Выбрать все столбцы со знаковыми целыми числами
> {
"foo": ["x", "y"],
"bar": [123, 456],
"baz": [2.0, 5.5],
"zap": [-1, -2],
} |
polars into-df --as-columns |
polars select (polars selector signed-integer) |
polars sort-by bar zap |
polars collect
╭───┬─────┬─────╮
│ # │ bar │ zap │
├───┼─────┼─────┤
│ 0 │ 123 │ -1 │
│ 1 │ 456 │ -2 │
╰───┴─────┴─────╯
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/polars_selector_signed-integer.html