Sha256: da8c3144114d805fbfb87846cf4a51b9c4917f96a775091df99e47ea2c5314ef

Contents?: true

Size: 142 Bytes

Versions: 9

Compression:

Stored size: 142 Bytes

Contents

use crate::RbResult;

pub fn set_random_seed(seed: u64) -> RbResult<()> {
    polars_core::random::set_global_random_seed(seed);
    Ok(())
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
polars-df-0.15.0 ext/polars/src/functions/random.rs
polars-df-0.14.0 ext/polars/src/functions/random.rs
polars-df-0.13.0 ext/polars/src/functions/random.rs
polars-df-0.12.0 ext/polars/src/functions/random.rs
polars-df-0.11.0 ext/polars/src/functions/random.rs
polars-df-0.10.0 ext/polars/src/functions/random.rs
polars-df-0.9.0 ext/polars/src/functions/random.rs
polars-df-0.8.0 ext/polars/src/functions/random.rs
polars-df-0.7.0 ext/polars/src/functions/random.rs