diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-03-04 02:39:14 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-03-06 12:54:33 +0000 |
commit | f2b27fb90809bdf464e66b9f3be8037e9a72c0f7 (patch) | |
tree | 8f2edc8ae50d4342b1a16f2cf71d3547191eeee3 /numpy/lib/shape_base.py | |
parent | 15325328b0cee99543ce015ad90aad7ceddca4b6 (diff) | |
download | numpy-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.py | 2 |
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 |