diff options
author | Pierre de Buyl <pdebuyl@pdebuyl.be> | 2016-09-06 14:42:08 +0200 |
---|---|---|
committer | Pierre de Buyl <pdebuyl@pdebuyl.be> | 2016-09-06 14:42:08 +0200 |
commit | 2a55233b81a6ea18a57d1dd4f7bc5fff9f2fb681 (patch) | |
tree | 1a4a81faf9e59d0cabf9cbace9dc967bad60caa1 /numpy/core/fromnumeric.py | |
parent | 773e3cad9a71cb9a7849d8e251fb8a99ab35d06b (diff) | |
download | numpy-2a55233b81a6ea18a57d1dd4f7bc5fff9f2fb681.tar.gz |
DOC: change Numpy to NumPy in dosctrings and comments
The strings in error messages were left untouched
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 99173d105..8a56a6e1f 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -471,8 +471,8 @@ def swapaxes(a, axis1, axis2): Returns ------- a_swapped : ndarray - For Numpy >= 1.10, if `a` is an ndarray, then a view of `a` is - returned; otherwise a new array is created. For earlier Numpy + For NumPy >= 1.10, if `a` is an ndarray, then a view of `a` is + returned; otherwise a new array is created. For earlier NumPy versions a view of `a` is returned only if the order of the axes is changed, otherwise the input array is returned. @@ -1059,7 +1059,7 @@ def searchsorted(a, v, side='left', sorter=None): ----- Binary search is used to find the required insertion points. - As of Numpy 1.4.0 `searchsorted` works with real/complex arrays containing + As of NumPy 1.4.0 `searchsorted` works with real/complex arrays containing `nan` values. The enhanced sort order is documented in `sort`. Examples @@ -2631,7 +2631,7 @@ def rank(a): Notes ----- In the old Numeric package, `rank` was the term used for the number of - dimensions, but in Numpy `ndim` is used instead. + dimensions, but in NumPy `ndim` is used instead. Examples -------- @@ -2737,7 +2737,7 @@ def around(a, decimals=0, out=None): Notes ----- - For values exactly halfway between rounded decimal values, Numpy + For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1.5 and 2.5 round to 2.0, -0.5 and 0.5 round to 0.0, etc. Results may also be surprising due to the inexact representation of decimal fractions in the IEEE |