Skip to content

Commit

Permalink
Merge branch 'squeeze' of https://github.com/Bharat123rox/numpy into …
Browse files Browse the repository at this point in the history
…squeeze
  • Loading branch information
bharatr21 committed Feb 2, 2020
2 parents 24117f9 + 9683fac commit a77e4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/fromnumeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ def squeeze(a, axis=None):
>>> x.shape
(1, 1)
>>> np.squeeze(x)
array(1234)
array(1234) # 0d array
>>> np.squeeze(x).shape
()
>>> np.squeeze(x)[0]
Expand Down

0 comments on commit a77e4a0

Please sign in to comment.