nushell/crates/nu_plugin_polars/src
Jack Wright b68c7cf3fa
Make polars unpivot consistent with polars pivot (#13335)
# Description
Makes `polars unpivot` use the same arguments as `polars pivot` and
makes it consistent with the polars' rust api. Additionally, support for
the polar's streaming engine has been exposed on eager dataframes.
Previously, it would only work with lazy dataframes.


# User-Facing Changes
* `polars unpivot` argument `--columns`|`-c` has been renamed to
`--index`|`-i`
* `polars unpivot` argument `--values`|`-v` has been renamed to
`--on`|`-o`
* `polars unpivot` short argument for `--streamable` is now `-t` to make
it consistent with `polars pivot`. It was made `-t` for `polars pivot`
because `-s` is short for `--short`
2024-07-10 16:36:38 -05:00
..
cache Polars: Check to see if the cache is empty before enabling GC. More logging (#13286) 2024-07-03 06:44:26 -05:00
dataframe Make polars unpivot consistent with polars pivot (#13335) 2024-07-10 16:36:38 -05:00
lib.rs Polars: Check to see if the cache is empty before enabling GC. More logging (#13286) 2024-07-03 06:44:26 -05:00
main.rs Converted perf function to be a macro. Utilized the perf macro within the polars plugin. (#13224) 2024-06-27 18:56:56 -05:00