Skip to content

Commit

Permalink
docs: Fix example of as_struct (#19116)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkoooo authored Oct 11, 2024
1 parent b792033 commit 376dae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars/src/docs/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
//! "b" => [3.0f32, 5.1, 0.3]
//! ]?
//! .lazy()
//! .select([as_struct(&[col("a"), col("b")]).map(
//! .select([as_struct(vec![col("a"), col("b")]).map(
//! |s| {
//! let ca = s.struct_()?;
//!
Expand Down

0 comments on commit 376dae9

Please sign in to comment.