diff options
author | Andreas Hilboll <andreas@hilboll.de> | 2013-02-17 12:56:41 +0100 |
---|---|---|
committer | Andreas Hilboll <andreas@hilboll.de> | 2013-02-17 12:56:41 +0100 |
commit | c5478ef2a402e21b5d9f9533fcb8e6f055b45a35 (patch) | |
tree | 4af0568aff239d9bd110216eb678bbfef7de0417 /numpy/lib/function_base.py | |
parent | 38a16488d0977c5617218a36759250df7f87556e (diff) | |
download | numpy-c5478ef2a402e21b5d9f9533fcb8e6f055b45a35.tar.gz |
Update numpy/lib/function_base.py
fix percentile docstring
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 320a8ec6c..02dd0ceaf 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3053,7 +3053,7 @@ def percentile(a, q, axis=None, out=None, overwrite_input=False): [ 3, 2, 1]]) >>> np.percentile(a, 50) 3.5 - >>> np.percentile(a, 0.5, axis=0) + >>> np.percentile(a, 50, axis=0) array([ 6.5, 4.5, 2.5]) >>> np.percentile(a, 50, axis=1) array([ 7., 2.]) |