pub fn try_unary<I, F, O>(
array: &PrimitiveArray<I>,
op: F,
data_type: DataType
) -> Result<PrimitiveArray<O>, ArrowError> where
I: NativeType,
O: NativeType,
F: Fn(I) -> Result<O, ArrowError>,
Expand description
Version of unary that checks for errors in the closure used to create the buffer