diff --git a/docs/src/rust/user-guide/getting-started/joins.rs b/docs/src/rust/user-guide/getting-started/joins.rs index 54d4a6b92b20..a5f36c73f342 100644 --- a/docs/src/rust/user-guide/getting-started/joins.rs +++ b/docs/src/rust/user-guide/getting-started/joins.rs @@ -8,7 +8,7 @@ fn main() -> Result<(), Box> { let df: DataFrame = df!( "a" => 0..8, "b"=> (0..8).map(|_| rng.gen::()).collect::>(), - "d"=> [Some(1.0), Some(2.0), None, None, Some(0.0), Some(-5.0), Some(-42.), None] + "d"=> [Some(1.0), Some(2.0), Some(f64::NAN), Some(f64::NAN), Some(0.0), Some(-5.0), Some(-42.), None] ) .unwrap(); let df2: DataFrame = df!(