Skip to main content

Module inbound

Module inbound 

Source
Expand description

Arrow to ndarray conversions (zero-copy views).

This module provides zero-copy conversions from Arrow arrays to ndarray views. All conversions borrow the Arrow buffer and produce ndarray views — no allocation occurs.

§Null handling

Three tiers of null handling are provided:

Traits§

AsNdarray
Zero-copy conversion from an Arrow array to an ndarray view.

Functions§

fixed_size_list_as_array2
Zero-copy conversion from a FixedSizeListArray to an ArrayView2.
fixed_size_list_as_array2_masked
Zero-copy conversion from a FixedSizeListArray to an ArrayView2 with a validity bitmap.
fixed_size_list_as_array2_unchecked
Zero-copy conversion from a FixedSizeListArray to an ArrayView2, without null checks.