Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Apr 17, 2024
1 parent feaf573 commit d50753e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 86 deletions.
83 changes: 0 additions & 83 deletions crates/polars-lazy/src/tests/err_msg.rs

This file was deleted.

2 changes: 1 addition & 1 deletion crates/polars-lazy/src/tests/logical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn test_lazy_logical_plan_schema() {
.group_by([col("variety")])
.agg([col("sepal_width").min()])
.logical_plan;
assert!(lp.compute_schema().unwrap().get("sepal.width").is_some());
assert!(lp.compute_schema().unwrap().get("sepal_width").is_some());
}

#[test]
Expand Down
1 change: 0 additions & 1 deletion crates/polars-lazy/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ mod aggregations;
mod arity;
#[cfg(all(feature = "strings", feature = "cse"))]
mod cse;
mod err_msg;
#[cfg(feature = "parquet")]
mod io;
mod logical;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/rust/user-guide/expressions/missing-data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.clone()
.lazy()
.with_columns([col("value").fill_nan(lit(NULL)).alias("value")])
.mean()?
.mean()
.collect()?;
println!("{}", &mean_nan_df);
// --8<-- [end:nanfill]
Expand Down

0 comments on commit d50753e

Please sign in to comment.