Function re_viewer::external::arrow2::compute::arity::try_unary

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

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