diff options
author | Christian Lorentzen <lorentzen.ch@gmail.com> | 2023-04-04 23:39:14 +0200 |
---|---|---|
committer | Christian Lorentzen <lorentzen.ch@gmail.com> | 2023-04-04 23:39:14 +0200 |
commit | 819d92116bd08a3732becd9895d48618588be3ba (patch) | |
tree | 2b9a3ea917fe60c6be8eb73c013563ff57054486 /numpy/lib/nanfunctions.py | |
parent | ea0b1708b27e683201285da53c6afda24bc8ba74 (diff) | |
download | numpy-819d92116bd08a3732becd9895d48618588be3ba.tar.gz |
DOC quantile q is a probability
Diffstat (limited to 'numpy/lib/nanfunctions.py')
-rw-r--r-- | numpy/lib/nanfunctions.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py index 7e5528646..b3b570860 100644 --- a/numpy/lib/nanfunctions.py +++ b/numpy/lib/nanfunctions.py @@ -1415,8 +1415,8 @@ def nanquantile( Input array or object that can be converted to an array, containing nan values to be ignored q : array_like of float - Quantile or sequence of quantiles to compute, which must be between - 0 and 1 inclusive. + Probability or sequence of probabilities for the quantiles to compute. + Values must be between 0 and 1 inclusive. axis : {int, tuple of int, None}, optional Axis or axes along which the quantiles are computed. The default is to compute the quantile(s) along a flattened @@ -1476,8 +1476,8 @@ def nanquantile( Returns ------- quantile : scalar or ndarray - If `q` is a single percentile and `axis=None`, then the result - is a scalar. If multiple quantiles are given, first axis of + If `q` is a single probability and `axis=None`, then the result + is a scalar. If multiple probability levels are given, first axis of the result corresponds to the quantiles. The other axes are the axes that remain after the reduction of `a`. If the input contains integers or floats smaller than ``float64``, the output |