polars store-get for dataframe

Gets a Dataframe or other object from the plugin cache.

Signature

> polars store-get {flags} (key)

Parameters

  • key: Key of objects to get

Input/output types:

inputoutput
anyany

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
╰───┴───┴───╯