polars_arrow::ffi

Function import_array_from_c

Source
pub unsafe fn import_array_from_c(
    array: ArrowArray,
    dtype: 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).