summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorKelsey Jordahl <kels@planet.com>2016-06-15 12:47:52 -0700
committerKelsey Jordahl <kels@planet.com>2016-06-15 12:47:52 -0700
commit9b88034e92794d814bb033f72302a55ca19abdf2 (patch)
tree78ae22b43868592c1ca7e57ab50111caad7787cb /numpy/core/fromnumeric.py
parent8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 (diff)
downloadnumpy-9b88034e92794d814bb033f72302a55ca19abdf2.tar.gz
DOC: Update float32 mean example in docstring
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 3741d821d..345ecff73 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -2844,7 +2844,7 @@ def mean(a, axis=None, dtype=None, out=None, keepdims=False):
>>> a[0, :] = 1.0
>>> a[1, :] = 0.1
>>> np.mean(a)
- 0.546875
+ 0.54999924
Computing the mean in float64 is more accurate: