[][src]Function arrow::compute::kernels::filter::filter_primitive_array

pub fn filter_primitive_array<T>(
    data_array: &PrimitiveArray<T>,
    filter_array: &BooleanArray
) -> Result<PrimitiveArray<T>> where
    T: ArrowNumericType

Returns a new PrimitiveArray containing only those values from the array passed as the data_array parameter, selected by the BooleanArray passed as the filter_array parameter