From bdc767bf231c2f51d77202d8ba9060098cbbefe0 Mon Sep 17 00:00:00 2001 From: eggcaker Date: Thu, 6 Feb 2025 21:01:09 +0800 Subject: [PATCH] fix polars save example typo (#15008) # Description fix polars save example dfr -> polars I'm wondering why the commands `polars open` and `polars save` don't have the same flags? --- .../nu_plugin_polars/src/dataframe/command/core/save/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu_plugin_polars/src/dataframe/command/core/save/mod.rs b/crates/nu_plugin_polars/src/dataframe/command/core/save/mod.rs index f5fad3b495..ce56acd984 100644 --- a/crates/nu_plugin_polars/src/dataframe/command/core/save/mod.rs +++ b/crates/nu_plugin_polars/src/dataframe/command/core/save/mod.rs @@ -94,12 +94,12 @@ impl PluginCommand for SaveDF { }, Example { description: "Saves dataframe to CSV file", - example: "[[a b]; [1 2] [3 4]] | dfr into-df | dfr save test.csv", + example: "[[a b]; [1 2] [3 4]] | polars into-df | polars save test.csv", result: None, }, Example { description: "Saves dataframe to CSV file using other delimiter", - example: "[[a b]; [1 2] [3 4]] | dfr into-df | dfr save test.csv --delimiter '|'", + example: "[[a b]; [1 2] [3 4]] | polars into-df | polars save test.csv --csv-delimiter '|'", result: None, }, ]