From 2a55233b81a6ea18a57d1dd4f7bc5fff9f2fb681 Mon Sep 17 00:00:00 2001 From: Pierre de Buyl Date: Tue, 6 Sep 2016 14:42:08 +0200 Subject: DOC: change Numpy to NumPy in dosctrings and comments The strings in error messages were left untouched --- numpy/lib/nanfunctions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/lib/nanfunctions.py') diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py index 7f7aea9bc..ab88c6a37 100644 --- a/numpy/lib/nanfunctions.py +++ b/numpy/lib/nanfunctions.py @@ -204,7 +204,7 @@ def nanmin(a, axis=None, out=None, keepdims=np._NoValue): Notes ----- - Numpy uses the IEEE Standard for Binary Floating-Point for Arithmetic + NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). This means that Not a Number is not equivalent to infinity. Positive infinity is treated as a very large number and negative infinity is treated as a very small (i.e. negative) number. @@ -311,7 +311,7 @@ def nanmax(a, axis=None, out=None, keepdims=np._NoValue): Notes ----- - Numpy uses the IEEE Standard for Binary Floating-Point for Arithmetic + NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). This means that Not a Number is not equivalent to infinity. Positive infinity is treated as a very large number and negative infinity is treated as a very small (i.e. negative) number. @@ -453,7 +453,7 @@ def nansum(a, axis=None, dtype=None, out=None, keepdims=np._NoValue): Return the sum of array elements over a given axis treating Not a Numbers (NaNs) as zero. - In Numpy versions <= 1.8 Nan is returned for slices that are all-NaN or + In NumPy versions <= 1.8 Nan is returned for slices that are all-NaN or empty. In later versions zero is returned. Parameters -- cgit v1.2.1 From db0b231f17fb2148772181626235e2644eb67c3e Mon Sep 17 00:00:00 2001 From: Pierre de Buyl Date: Wed, 7 Sep 2016 09:48:40 +0200 Subject: DOC: change version references from x.y to x.y.z --- numpy/lib/nanfunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/nanfunctions.py') diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py index ab88c6a37..c024055ba 100644 --- a/numpy/lib/nanfunctions.py +++ b/numpy/lib/nanfunctions.py @@ -453,7 +453,7 @@ def nansum(a, axis=None, dtype=None, out=None, keepdims=np._NoValue): Return the sum of array elements over a given axis treating Not a Numbers (NaNs) as zero. - In NumPy versions <= 1.8 Nan is returned for slices that are all-NaN or + In NumPy versions <= 1.8.0 Nan is returned for slices that are all-NaN or empty. In later versions zero is returned. Parameters -- cgit v1.2.1