staircase.StairsArray.radd#

StairsArray.radd(other)#

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

Equivalent to other + self.

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-radd-1.png
>>> result = 0.5 + arr
../../_images/staircase-StairsArray-radd-2.png