Skip to content

Commit

Permalink
Update lists.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm0000 authored Jan 23, 2025
1 parent c01b009 commit 0eaaaf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/source/src/rust/user-guide/expressions/lists.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// in rust use `col("*")` instead of pl.all()
/ col("*").count())
.round(2);
use polars_lazy::dsl;
let result = weather_by_day
.lazy()
.with_columns(vec![dsl::concat_list(vec![
.with_columns(vec![concat_list(vec![
col("*").exclude(vec!["station"])
])?
.alias("all_temps")])
Expand Down

0 comments on commit 0eaaaf6

Please sign in to comment.