From 462768aed3df4270d73996b88906b989de1fa3d1 Mon Sep 17 00:00:00 2001 From: mgunyho Date: Thu, 20 Jan 2022 08:31:36 +0200 Subject: DOC: fix formatting of mean example --- numpy/core/fromnumeric.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/core/fromnumeric.py') diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index f26f306fa..0ec4f7687 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -3408,6 +3408,7 @@ def mean(a, axis=None, dtype=None, out=None, keepdims=np._NoValue, *, 0.55000000074505806 # may vary Specifying a where argument: + >>> a = np.array([[5, 9, 13], [14, 10, 12], [11, 15, 19]]) >>> np.mean(a) 12.0 -- cgit v1.2.1