series_greater()

Calculates the element-wise greater (>) logic operation of two numeric series inputs.

Syntax

series_greater (Series1, Series2)

Arguments

  • Series1, Series2: Input numeric arrays to be element-wise compared. All arguments must be dynamic arrays.

Returns

Dynamic array of booleans containing the calculated element-wise greater logic operation between the two inputs. Any non-numeric element or non-existing element (arrays of different sizes) yields a null element value.

Example

print s1 = dynamic([1,2,4]), s2 = dynamic([4,2,1])
| extend s1_greater_s2 = series_greater(s1, s2)
s1 s2 s1_greater_s2
[1,2,4] [4,2,1] [false,false,true]

See also

For entire series statistics comparisons, see: