staircase.StairsArray.rsubtract#
- StairsArray.rsubtract(other)#
Binary operator for
staircase.StairsArray
(andpandas.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.
- otherint, float,
- Returns:
See also
Examples
>>> arr = sc.StairsArray([s1,s2])
>>> result = 0.5 - arr