Function try_unary
pub fn try_unary<I, F, O>(
array: &PrimitiveArray<I>,
op: F,
) -> Result<PrimitiveArray<O>, ArrowError>where
I: ArrowPrimitiveType,
O: ArrowPrimitiveType,
F: Fn(<I as ArrowPrimitiveType>::Native) -> Result<<O as ArrowPrimitiveType>::Native, ArrowError>,