This is documentation for an old release of SciPy (version 0.7.). Read this page in the documentation of the latest stable release (version 1.15.1).
Calculate the score at the given ‘per’ percentile of the sequence a. For example, the score at per=50 is the median.
If the desired quantile lies between two data points, we interpolate between them.
If the parameter ‘limit’ is provided, it should be a tuple (lower, upper) of two values. Values of ‘a’ outside this (closed) interval will be ignored.