Skip to main content

map_float

Function map_float 

Source
pub fn map_float(
    a: &NdArrowArray,
    f32_op: impl Fn(f32) -> f32,
    f64_op: impl Fn(f64) -> f64,
) -> Result<NdArrowArray>
Expand description

Apply a floating point function. Integers compute as Float64, like NumPy.