nushell/crates/nu_plugin_polars/src
Jack Wright 8d60c0d35d
Migrating polars commands away from macros, removed custom DataFrame comparison. (#13829)
# Description
This PR:
- Removes the lazy_command, expr_command macros and migrates the
commands that were utilizing them.
- Removes the custom logic in DataFrameValues::is_equals to use the
polars DataFrame version of PartialEq
- Adds examples to commands that previously did not have examples or had
inadequate ones.

NOTE: A lot of examples now have a `polars sort` at the end. This is
needed due to the comparison in the result. The new polars version of
equals cares about the ordering. I removed the custom equals logic as it
causes comparisons to lock up when comparing dataframes that contain a
row that contains a list. I discovered this issue when adding examples
to `polars implode`
2024-09-11 10:33:05 -07:00
..
cache Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
dataframe Migrating polars commands away from macros, removed custom DataFrame comparison. (#13829) 2024-09-11 10:33:05 -07:00
lib.rs Migrating polars commands away from macros, removed custom DataFrame comparison. (#13829) 2024-09-11 10:33:05 -07: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