re_arrow_util::arrays

Function extract_fixed_size_array_element

Source
pub fn extract_fixed_size_array_element(
    data: &FixedSizeListArray,
    idx: u32,
) -> Result<ArrayRef, ArrowError>
Expand description

Extract the element at idx from a FixedSizeListArray.

For example: [[1, 2], [3, 4], [5, 6]] -> [1, 3, 5]