From a42185f9ecc7c5016dc5a3cecc40ee9f200e88cf Mon Sep 17 00:00:00 2001 From: Eric Woolsey Date: Thu, 19 Oct 2023 01:08:28 -0700 Subject: [PATCH] docs(rust): Update doc comments for with_column to reflect that columns can be updated (#11840) --- crates/polars-lazy/src/frame/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/polars-lazy/src/frame/mod.rs b/crates/polars-lazy/src/frame/mod.rs index 261fbaaaf517..20292101113e 100644 --- a/crates/polars-lazy/src/frame/mod.rs +++ b/crates/polars-lazy/src/frame/mod.rs @@ -1182,7 +1182,7 @@ impl LazyFrame { JoinBuilder::new(self) } - /// Add a column, given as an expression, to a DataFrame. + /// Add or replace a column, given as an expression, to a DataFrame. /// /// # Example /// @@ -1214,7 +1214,7 @@ impl LazyFrame { Self::from_logical_plan(lp, opt_state) } - /// Add multiple columns, given as expressions, to a DataFrame. + /// Add or replace multiple columns, given as expressions, to a DataFrame. /// /// # Example /// @@ -1239,7 +1239,7 @@ impl LazyFrame { ) } - /// Add multiple columns to a DataFrame, but evaluate them sequentially. + /// Add or replace multiple columns to a DataFrame, but evaluate them sequentially. pub fn with_columns_seq>(self, exprs: E) -> LazyFrame { let exprs = exprs.as_ref().to_vec(); self.with_columns_impl(