The where function#

Aliases#

halerium.core.where
halerium.core.math.where
where(condition, true_value, false_value)#

Condition, element-wise.

Parameters:
  • condition – The condition.

  • true_value – The value to return where condition is true.

  • false_value – The value to return where condition is false.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Where