[Numpy-svn] [numpy/numpy] d9d266: Revert "BUG: make np.squeeze always return an arra...
GitHub
noreply at github.com
Sun Feb 12 14:27:03 EST 2017
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: d9d266ada4d90fb87b61773bb760e8e7e5bb6ba9
https://github.com/numpy/numpy/commit/d9d266ada4d90fb87b61773bb760e8e7e5bb6ba9
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2017-02-12 (Sun, 12 Feb 2017)
Changed paths:
M doc/release/1.13.0-notes.rst
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_numeric.py
Log Message:
-----------
Revert "BUG: make np.squeeze always return an array, never a scalar"
This reverts commit fa040cada9e832a6d23f359a4029953d14acca0a.
This change broke Pandas, and after consideration it has been decided
that the more correct change would be squeeze(<a scalar>) returns the
original scalar.
Commit: 6f5b96929928b298dc7038659ca74e2c335e8b75
https://github.com/numpy/numpy/commit/6f5b96929928b298dc7038659ca74e2c335e8b75
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2017-02-12 (Sun, 12 Feb 2017)
Changed paths:
M doc/release/1.13.0-notes.rst
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_numeric.py
Log Message:
-----------
Merge pull request #8610 from charris/revert-8591
Revert "BUG: make np.squeeze always return an array, never a scalar"
Compare: https://github.com/numpy/numpy/compare/a9d694168eed...6f5b96929928
More information about the Numpy-svn
mailing list