From 8bbc9471e1f2dff82db504a0b68e1c0bbba0264c Mon Sep 17 00:00:00 2001 From: jparag Date: Sat, 27 Jul 2024 06:10:31 -0400 Subject: [PATCH] docs: Updating the join example input for rust for consistency with python example (#17898) Co-authored-by: Parag Jain --- docs/src/rust/user-guide/getting-started/joins.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!(