polars store-get
For dataframe.
Gets a Dataframe or other object from the plugin cache.
warning This command requires a plugin The
polars store-getcommand 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 store-get {flags} (key)
Parameters
key: Key of objects to get.
Input/output types:
| input | output |
|---|---|
| any | polars_dataframe |
| any | polars_lazyframe |
| any | polars_expression |
| any | polars_group_by |
| any | polars_when |
| any | polars_datatype |
| any | polars_schema |
| any | polars_selector |
Examples
Get a stored object
> let df = ([[a b];[1 2] [3 4]] | polars into-df);
polars store-ls | get key | first | polars store-get $in
╭───┬───┬───╮
│ # │ a │ b │
├───┼───┼───┤
│ 0 │ 1 │ 2 │
│ 1 │ 3 │ 4 │
╰───┴───┴───╯
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.