diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-08-31 13:44:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 13:44:59 -0500 |
commit | 866589cdf7ecb3054ec3ae6493612d51c9d5e56d (patch) | |
tree | a37f31bc41dc8c67530a823391b96f058fe9c26c /numpy/lib/nanfunctions.py | |
parent | 089a0e0e9d1e32f57ddb89be5f450125bc58f57f (diff) | |
parent | f17f229a4a5def56282df4a7e51461c9374385d8 (diff) | |
download | numpy-866589cdf7ecb3054ec3ae6493612d51c9d5e56d.tar.gz |
Merge branch 'master' into warn-float16-nan
Diffstat (limited to 'numpy/lib/nanfunctions.py')
-rw-r--r-- | numpy/lib/nanfunctions.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py index abd2da1a2..8d6b0f139 100644 --- a/numpy/lib/nanfunctions.py +++ b/numpy/lib/nanfunctions.py @@ -1178,13 +1178,15 @@ def nanquantile(a, q, axis=None, out=None, overwrite_input=False, This optional parameter specifies the interpolation method to use when the desired quantile lies between two data points ``i < j``: - * linear: ``i + (j - i) * fraction``, where ``fraction`` - is the fractional part of the index surrounded by ``i`` - and ``j``. - * lower: ``i``. - * higher: ``j``. - * nearest: ``i`` or ``j``, whichever is nearest. - * midpoint: ``(i + j) / 2``. + + * linear: ``i + (j - i) * fraction``, where ``fraction`` + is the fractional part of the index surrounded by ``i`` + and ``j``. + * lower: ``i``. + * higher: ``j``. + * nearest: ``i`` or ``j``, whichever is nearest. + * midpoint: ``(i + j) / 2``. + keepdims : bool, optional If this is set to True, the axes which are reduced are left in the result as dimensions with size one. With this option, the |