pub fn where_(
condition: impl Into<ScalarOrArray>,
a: impl Into<ScalarOrArray>,
b: impl Into<ScalarOrArray>,
) -> 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. Numbers are accepted for any operand
(weak, as in ScalarOrArray).