From a1b7574306ca51270be9485b666ee755afcc61d4 Mon Sep 17 00:00:00 2001 From: Douglas <32344964+NotTheDr01ds@users.noreply.github.com> Date: Tue, 29 Apr 2025 11:17:28 -0400 Subject: [PATCH] Renamed `join_where` to `join-where` (#15660) Renames the new `polars join_where` to `polars join-where` so that it conforms to the other Polars commands. --- .../nu_plugin_polars/src/dataframe/command/data/join_where.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu_plugin_polars/src/dataframe/command/data/join_where.rs b/crates/nu_plugin_polars/src/dataframe/command/data/join_where.rs index 970a268174..354cfee94b 100644 --- a/crates/nu_plugin_polars/src/dataframe/command/data/join_where.rs +++ b/crates/nu_plugin_polars/src/dataframe/command/data/join_where.rs @@ -15,7 +15,7 @@ impl PluginCommand for LazyJoinWhere { type Plugin = PolarsPlugin; fn name(&self) -> &str { - "polars join_where" + "polars join-where" } fn description(&self) -> &str { @@ -38,7 +38,7 @@ impl PluginCommand for LazyJoinWhere { description: "Join two lazy dataframes with a condition", example: r#"let df_a = ([[name cash];[Alice 5] [Bob 10]] | polars into-lazy) let df_b = ([[item price];[A 3] [B 7] [C 12]] | polars into-lazy) - $df_a | polars join_where $df_b ((polars col cash) > (polars col price)) | polars collect"#, + $df_a | polars join-where $df_b ((polars col cash) > (polars col price)) | polars collect"#, result: Some( NuDataFrame::try_from_columns( vec![