polars selector array

For expression.

Select all array columns. Optionally filter by fixed width.

warning This command requires a plugin The polars selector array command resides in the polars plugin. To use this command, you must install and register nu_plugin_polars. See the Plugins chapter in the book for more information.

Command Type

plugin

Signature

> polars selector array {flags}

Flags

  • --width {int}: Only select arrays with this fixed width.

Input/output types:

input output
any polars_selector

Examples

Create a selector for all array columns

> polars selector array

Create a selector for fixed-width arrays of size 3

> polars selector array --width 3

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.