summaryrefslogtreecommitdiff
path: root/numpy/lib/shape_base.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-03-04 02:39:14 +0000
committerEric Wieser <wieser.eric@gmail.com>2017-03-06 12:54:33 +0000
commitf2b27fb90809bdf464e66b9f3be8037e9a72c0f7 (patch)
tree8f2edc8ae50d4342b1a16f2cf71d3547191eeee3 /numpy/lib/shape_base.py
parent15325328b0cee99543ce015ad90aad7ceddca4b6 (diff)
downloadnumpy-f2b27fb90809bdf464e66b9f3be8037e9a72c0f7.tar.gz
DOC: expand_dims and squeeze are inverses
[ci skip]
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r--numpy/lib/shape_base.py2
1 files changed, 2 insertions, 0 deletions
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