Skip to main content

complex64_as_array_view1

Function complex64_as_array_view1 

Source
pub fn complex64_as_array_view1<'a>(
    field: &Field,
    array: &'a FixedSizeListArray,
) -> Result<ArrayView1<'a, Complex64>, NdarrowError>
Expand description

Converts ndarrow.complex64 storage into an ArrayView1<Complex64>.

§Does not allocate

The returned ndarray view borrows Arrow’s primitive values buffer.

§Errors

Returns an error on extension/type mismatch, nulls, or storage-shape mismatch.