Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-python/src/functions/random.rs
7889 views
1
use pyo3::prelude::*;
2
3
#[pyfunction]
4
pub fn set_random_seed(seed: u64) -> PyResult<()> {
5
polars_core::random::set_global_random_seed(seed);
6
Ok(())
7
}
8
9