Function arrow::util::data_gen::create_random_array[][src]

pub fn create_random_array(
    field: &Field,
    size: usize,
    null_density: f32,
    true_density: f32
) -> Result<ArrayRef>
Expand description

Create a random ArrayRef from a DataType with a length, null density and true density (for BooleanArray).