polars cache for lazyframe

Caches operations in a new LazyFrame.

Signature

> polars cache {flags}

Input/output types:

inputoutput
anyany

Examples

Caches the result into a new LazyFrame

> [[a b]; [6 2] [4 2] [2 2]] | polars into-df | polars reverse | polars cache