Function polars_arrow::compute::arity::try_unary
source ยท pub fn try_unary<I, F, O>(
array: &PrimitiveArray<I>,
op: F,
data_type: ArrowDataType,
) -> PolarsResult<PrimitiveArray<O>>
Expand description
Version of unary that checks for errors in the closure used to create the buffer