From 22f61e9886411d0e58a2fdd1afc364c320b41efc Mon Sep 17 00:00:00 2001 From: Bharat123Rox Date: Mon, 18 Feb 2019 21:05:03 +0530 Subject: Restore spacing --- numpy/core/numeric.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/core/numeric.py') diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index f214eb603..c06b0cf98 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -1445,6 +1445,7 @@ def roll(a, shift, axis=None): array([8, 9, 0, 1, 2, 3, 4, 5, 6, 7]) >>> np.roll(x, -2) array([2, 3, 4, 5, 6, 7, 8, 9, 0, 1]) + >>> x2 = np.reshape(x, (2,5)) >>> x2 array([[0, 1, 2, 3, 4], -- cgit v1.2.1