Function polars_arrow::ffi::import_array_from_c
source · pub unsafe fn import_array_from_c(
array: ArrowArray,
data_type: ArrowDataType,
) -> PolarsResult<Box<dyn Array>>
Expand description
Imports an Array
from the C data interface.
§Safety
This function is intrinsically unsafe
and relies on a ArrowArray
being valid according to the C data interface (FFI).