Stairs.
percentile
(x, lower=-inf, upper=inf)¶Calculates the x-th percentile of the step function’s values
Parameters: |
|
---|---|
Returns: | The x-th percentile |
Return type: | float |
See also
Examples
>>> s1.plot()
>>> s1.percentile(70)
1.0
>>> s1.percentile(25)
-0.5
>>> s1.percentile(40, lower=1.5, upper=3.5)
0.0