From 3c35df5ca802b216a43b6005795d59aea3eb907f Mon Sep 17 00:00:00 2001 From: Parag Jain Date: Fri, 26 Jul 2024 17:57:49 -0400 Subject: [PATCH] updating the join example input for rust for consistency with python example --- 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!(