mirror of
https://github.com/nushell/nushell.git
synced 2025-05-03 17:44:26 +02:00
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.
This commit is contained in:
parent
09f12b9c4a
commit
a1b7574306
@ -15,7 +15,7 @@ impl PluginCommand for LazyJoinWhere {
|
|||||||
type Plugin = PolarsPlugin;
|
type Plugin = PolarsPlugin;
|
||||||
|
|
||||||
fn name(&self) -> &str {
|
fn name(&self) -> &str {
|
||||||
"polars join_where"
|
"polars join-where"
|
||||||
}
|
}
|
||||||
|
|
||||||
fn description(&self) -> &str {
|
fn description(&self) -> &str {
|
||||||
@ -38,7 +38,7 @@ impl PluginCommand for LazyJoinWhere {
|
|||||||
description: "Join two lazy dataframes with a condition",
|
description: "Join two lazy dataframes with a condition",
|
||||||
example: r#"let df_a = ([[name cash];[Alice 5] [Bob 10]] | polars into-lazy)
|
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)
|
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(
|
result: Some(
|
||||||
NuDataFrame::try_from_columns(
|
NuDataFrame::try_from_columns(
|
||||||
vec![
|
vec![
|
||||||
|
Loading…
Reference in New Issue
Block a user