diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-02-17 16:48:05 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-02-17 16:48:05 -0800 |
commit | b2ed8f73901c7020e0551515d543b5138e11964a (patch) | |
tree | 4af0568aff239d9bd110216eb678bbfef7de0417 /numpy/lib/function_base.py | |
parent | 38a16488d0977c5617218a36759250df7f87556e (diff) | |
parent | c5478ef2a402e21b5d9f9533fcb8e6f055b45a35 (diff) | |
download | numpy-b2ed8f73901c7020e0551515d543b5138e11964a.tar.gz |
Merge pull request #2996 from andreas-h/patch-1
Update numpy/lib/function_base.py
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.]) |