summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorBaurzhan Muftakhidinov <baurthefirst@gmail.com>2017-04-06 15:12:23 +0500
committerEric Wieser <wieser.eric@gmail.com>2017-04-06 11:12:23 +0100
commiteb12b7106fb2962167627af21bc0bef24f6f650d (patch)
tree715ce95b671d9c4c113ee6ec013216338fb5e98c /numpy/lib/nanfunctions.py
parentd21cecf4526fc463a063d058d92987633250f06c (diff)
downloadnumpy-eb12b7106fb2962167627af21bc0bef24f6f650d.tar.gz
DOC: Fix typos in percentile (#8900)
Diffstat (limited to 'numpy/lib/nanfunctions.py')
-rw-r--r--numpy/lib/nanfunctions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py
index 9b9df77c3..c96e925aa 100644
--- a/numpy/lib/nanfunctions.py
+++ b/numpy/lib/nanfunctions.py
@@ -1070,8 +1070,8 @@ def nanpercentile(a, q, axis=None, out=None, overwrite_input=False,
Notes
-----
Given a vector ``V`` of length ``N``, the ``q``-th percentile of
- ``V`` is the value ``q/100`` of the way from the mimumum to the
- maximum in in a sorted copy of ``V``. The values and distances of
+ ``V`` is the value ``q/100`` of the way from the minimum to the
+ maximum in a sorted copy of ``V``. The values and distances of
the two nearest neighbors as well as the `interpolation` parameter
will determine the percentile if the normalized ranking does not
match the location of ``q`` exactly. This function is the same as