Skip to main content

where_

Function where_ 

Source
pub fn where_(condition: &Array, a: &Array, b: &Array) -> Result<Array>
Expand description

Element-wise selection: a where condition is true, otherwise b.

condition is converted to bool (non-zero is true); a and b are promoted to a common type; all three are broadcast together.