Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Sep 22, 2023
1 parent a930fe8 commit c224cde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/polars-core/src/chunked_array/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ mod test {
.unwrap();

// default samples are random and don't require seeds
assert!(df.sample_n(&Series::new("s", &[3]), false, false, None).is_ok());
assert!(df
.sample_n(&Series::new("s", &[3]), false, false, None)
.is_ok());
assert!(df.sample_frac(0.4, false, false, None).is_ok());
// with seeding
assert!(df
Expand Down

0 comments on commit c224cde

Please sign in to comment.