product#

product(target, props)[source]#

Calculates the product of multiple property values

Parameters:
  • target (Base) – The object which this model is associated with. This controls the length of the calculated array, and also provides access to other necessary properties.

  • props (list[str]) – The name of the arguments to be used for the product.

Returns:

value – Array containing product values of target[props[0]], target[props[1]], etc.

Return type:

ndarray