pub fn take<O>(
    values: &dyn Array,
    indices: &PrimitiveArray<O>
) -> Result<Box<dyn Array + 'static, Global>, ArrowError> where
    O: Index
This is supported on crate feature compute_take only.
Expand description

Returns a new Array with only indices at indices. Null indices are taken as nulls. The returned array has a length equal to indices.len().