polars selector duration
For expression.
Select all duration columns. Optionally filter by time unit (ns, us, ms).
warning This command requires a plugin The
polars selector durationcommand resides in thepolarsplugin. To use this command, you must install and registernu_plugin_polars. See the Plugins chapter in the book for more information.
Command Type
plugin
Signature
> polars selector duration {flags}
Flags
--time-unit {list<string>}: Filter by time unit(s): ns (nanoseconds), us (microseconds), ms (milliseconds).
Input/output types:
| input | output |
|---|---|
| any | polars_selector |
Examples
Create a selector for all duration columns
> polars selector duration
Create a selector for nanosecond or microsecond duration columns
> polars selector duration --time-unit [ns us]
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.