Skip to main content

where_

Function where_ 

Source
pub fn where_(
    cond: &NdArrowArray,
    x: &NdArrowArray,
    y: &NdArrowArray,
) -> Result<NdArrowArray>
Expand description

cond ? x : y, like numpy.where. A null condition picks y. Keeps the attributes of x.