staircase.StairsArray.le#

StairsArray.le(other)#

Binary operator for staircase.StairsArray (and pandas.Series with “Stairs” dtype).

Equivalent to self <= other.

Parameters
otherint, float, staircase.Stairs or array-like of these

If array-like must have same length as self.

Returns
staircase.StairsArray

Examples

>>> arr = sc.StairsArray([s1,s2])
../../_images/staircase-StairsArray-le-1.png
>>> result = arr <= 0.5
../../_images/staircase-StairsArray-le-2.png
>>> other = sc.StairsArray([s4,s3])
../../_images/staircase-StairsArray-le-3.png
>>> result = arr <= other
../../_images/staircase-StairsArray-le-4.png