pub fn try_unary<I, F, O>(
    array: &PrimitiveArray<I>,
    op: F,
    data_type: DataType
) -> Result<PrimitiveArray<O>> where
    I: NativeType,
    O: NativeType,
    F: Fn(I) -> Result<O>, 
Expand description

Version of unary that checks for errors in the closure used to create the buffer