pub fn take<O: Index>(
    values: &dyn Array,
    indices: &PrimitiveArray<O>
) -> Result<Box<dyn Array>>
Available 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().