Skip to content

Commit

Permalink
updating the join example input for rust for consistency with python …
Browse files Browse the repository at this point in the history
…example
  • Loading branch information
Parag Jain committed Jul 26, 2024
1 parent 1f14e4a commit 3c35df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rust/user-guide/getting-started/joins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let df: DataFrame = df!(
"a" => 0..8,
"b"=> (0..8).map(|_| rng.gen::<f64>()).collect::<Vec<f64>>(),
"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!(
Expand Down

0 comments on commit 3c35df5

Please sign in to comment.