arrow_cast::cast

Function numeric_cast

Source
fn numeric_cast<T, R>(from: &PrimitiveArray<T>) -> PrimitiveArray<R>
where T: ArrowPrimitiveType, R: ArrowPrimitiveType, T::Native: NumCast, R::Native: NumCast,