From f2b27fb90809bdf464e66b9f3be8037e9a72c0f7 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sat, 4 Mar 2017 02:39:14 +0000 Subject: DOC: expand_dims and squeeze are inverses [ci skip] --- numpy/lib/shape_base.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/lib/shape_base.py') diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index 8ebcf04b4..f78d38464 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -255,6 +255,8 @@ def expand_dims(a, axis): See Also -------- + squeeze : The inverse operation, removing singleton dimensions + reshape : Insert, remove, and combine dimensions, and resize existing ones doc.indexing, atleast_1d, atleast_2d, atleast_3d Examples -- cgit v1.2.1