From 5aa6c71774a04494458a354586ef19e6726250e3 Mon Sep 17 00:00:00 2001 From: Bharat123rox Date: Thu, 16 May 2019 12:27:23 +0530 Subject: [PATCH] Make wording changes according to @mattip --- numpy/lib/shape_base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index 21070ce36a5b..8ebe7a695f22 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -532,8 +532,7 @@ def expand_dims(a, axis): Returns ------- res : ndarray - Output array. The number of dimensions is one greater than that of - the input array. This is a view on the original array `a`. + View of `a` with the number of dimensions increased by one. See Also --------