summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-06-15 14:21:09 -0600
committerGitHub <noreply@github.com>2016-06-15 14:21:09 -0600
commit4ccf3d7378a5dd9094a7e27c180eda01d7487278 (patch)
tree7183f23fef51a5c0ba43c23c734624da4d5ef556 /numpy/core/fromnumeric.py
parent96030cd8f29828fccea16f681f50a749bb836af0 (diff)
parent9b88034e92794d814bb033f72302a55ca19abdf2 (diff)
downloadnumpy-4ccf3d7378a5dd9094a7e27c180eda01d7487278.tar.gz
Merge pull request #7748 from kjordahl/doc/mean-float32
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 261a0e2fe..28ee4fffa 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -2855,7 +2855,7 @@ def mean(a, axis=None, dtype=None, out=None, keepdims=np._NoValue):
>>> a[0, :] = 1.0
>>> a[1, :] = 0.1
>>> np.mean(a)
- 0.546875
+ 0.54999924
Computing the mean in float64 is more accurate: