summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-08-17 11:43:46 -0500
committerGitHub <noreply@github.com>2018-08-17 11:43:46 -0500
commit9245def62e4747324be811f2d4f621a04213c131 (patch)
tree55f4c8627f9abc9643c9e4e1162b3a3f23079b37 /numpy/lib/nanfunctions.py
parent1f1088d2d7fa25394f47dfcc8e2d058fd87d9c1d (diff)
parent210c361ce38aa7a67d3227f93a6df1b0b4790d33 (diff)
downloadnumpy-9245def62e4747324be811f2d4f621a04213c131.tar.gz
Merge pull request #11742 from mattip/doc-warnings
DOC: Reduce warnings and cleanup redundant c-api documentation
Diffstat (limited to 'numpy/lib/nanfunctions.py')
-rw-r--r--numpy/lib/nanfunctions.py16
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