From cc5dc4b4f18d667b18d80f73ccc440535f424861 Mon Sep 17 00:00:00 2001 From: Brian Brown Date: Sun, 11 Aug 2024 19:28:31 -0400 Subject: [PATCH] update rust binding --- src/dataframe.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dataframe.rs b/src/dataframe.rs index 6aecb6f6d..f68650468 100644 --- a/src/dataframe.rs +++ b/src/dataframe.rs @@ -895,8 +895,8 @@ impl JsDataFrame { pub fn pivot_expr( &self, values: Vec, + on: Vec, index: Vec, - columns: Vec, aggregate_expr: Option>, maintain_order: bool, sort_columns: bool, @@ -908,8 +908,8 @@ impl JsDataFrame { }; fun( &self.df, - index, - Some(columns), + on, + Some(index), Some(values), sort_columns, aggregate_expr.map(|e| e.0 as Expr),