pub fn rand_standard_normal(name: &str, length: usize) -> Self {
        let mut builder = PrimitiveChunkedBuilder::<T>::new(name, length);
        let mut rng = rand::thread_rng();
        for _ in 0..length {
            let smpl: f64 = rng.sample(StandardNormal);
            let smpl = NumCast::from(smpl).unwrap();
            builder.append_value(smpl)
        }
        builder.finish()
    }
/// Create `ChunkedArray` with samples from a Standard Normal distribution.
Create `ChunkedArray` with samples from a Standard Normal distribution.
Create ` ChunkedArray ` with samples from a Standard Normal distribution .
pub fn rand_standard_normal(name: &str, length: usize) -> Self {
        let mut builder = PrimitiveChunkedBuilder::<T>::new(name, length);
        let mut rng = rand::thread_rng();
        for _ in 0..length {
            let smpl: f64 = rng.sample(StandardNormal);
            let smpl = NumCast::from(smpl).unwrap();
            builder.append_value(smpl)
        }
        builder.finish()
    }
pub fn rand_standard_normal ( name : & str , length : usize ) -> Self { let mut builder = PrimitiveChunkedBuilder :: < T > :: new ( name , length ) ; let mut rng = rand :: thread_rng ( ) ; for _ in 0 .. length { let smpl : f64 = rng . sample ( StandardNormal ) ; let smpl = NumCast :: from ( smpl ) . unwrap ( ) ; builder . append_value ( smpl ) } builder . finish ( ) }
Create `ChunkedArray` with samples from a Standard Normal distribution.
Create ` ChunkedArray ` with samples from a Standard Normal distribution .
name
&str
length
usize
name
&str
length
usize