diff options
author | Bharat123rox <bharatraghunthan9767@gmail.com> | 2019-05-16 00:46:33 +0530 |
---|---|---|
committer | Bharat123rox <bharatraghunthan9767@gmail.com> | 2019-05-16 00:46:33 +0530 |
commit | 11109b8ad2e69dbce2c2e7867d6d1c0c03150bc2 (patch) | |
tree | 2d8f287bb6168848684616a422c3cfbe253cc407 /numpy/lib | |
parent | d2d589703d5ee743251fbc6ea045f28e1c5e9e71 (diff) | |
download | numpy-11109b8ad2e69dbce2c2e7867d6d1c0c03150bc2.tar.gz |
DOC: Mention that expand_dims returns a view
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/shape_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index ac2a25604..21070ce36 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -533,7 +533,7 @@ def expand_dims(a, axis): ------- res : ndarray Output array. The number of dimensions is one greater than that of - the input array. + the input array. This is a view on the original array `a`. See Also -------- |