Stairs.
mean
(lower=-inf, upper=inf)¶Calculates the mean of the step function.
Parameters: |
|
---|---|
Returns: | The mean |
Return type: | float |
See also
Stairs.rolling_mean()
, Stairs.get_integral_and_mean()
, Stairs.median()
, Stairs.mode()
Examples
>>> s1.plot()
>>> s1.mean(3, 4.5)
0.3333333333333333