Function polars_arrow::array::new_null_array

source ยท
pub fn new_null_array(data_type: ArrowDataType, length: usize) -> Box<dyn Array>
Expand description

Creates a new Array of ArrowDataType data_type and length. The array is guaranteed to have Array::null_count equal to Array::len for all types except Union, which does not have a validity.