[Numpy-svn] [numpy/numpy] 48783e: MAINT: replace len(x.shape) with x.ndim
GitHub
noreply at github.com
Sat Feb 25 10:39:44 EST 2017
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 48783e5ceb7f60c33db81ab72e5024f42b220990
https://github.com/numpy/numpy/commit/48783e5ceb7f60c33db81ab72e5024f42b220990
Author: Eric Wieser <wieser.eric at gmail.com>
Date: 2017-02-24 (Fri, 24 Feb 2017)
Changed paths:
M numpy/core/arrayprint.py
M numpy/core/einsumfunc.py
M numpy/core/numeric.py
M numpy/core/records.py
M numpy/core/shape_base.py
M numpy/core/tests/test_ufunc.py
M numpy/fft/helper.py
M numpy/lib/arraypad.py
M numpy/lib/arrayterator.py
M numpy/lib/function_base.py
M numpy/lib/npyio.py
M numpy/lib/polynomial.py
M numpy/lib/shape_base.py
M numpy/lib/user_array.py
M numpy/linalg/linalg.py
M numpy/linalg/tests/test_linalg.py
M numpy/ma/core.py
M numpy/ma/mrecords.py
M numpy/matrixlib/defmatrix.py
Log Message:
-----------
MAINT: replace len(x.shape) with x.ndim
Commit: 38ce8097749ad69494926036250ed5b2de66184c
https://github.com/numpy/numpy/commit/38ce8097749ad69494926036250ed5b2de66184c
Author: Eric Wieser <wieser.eric at gmail.com>
Date: 2017-02-25 (Sat, 25 Feb 2017)
Changed paths:
M doc/release/1.13.0-notes.rst
M numpy/add_newdocs.py
M numpy/core/src/multiarray/descriptor.c
M numpy/core/tests/test_dtype.py
Log Message:
-----------
ENH: add a .ndim property to dype objects
This complements the .shape property
Commit: eb271d95c0c9f3821009330d858a261b4b861bfe
https://github.com/numpy/numpy/commit/eb271d95c0c9f3821009330d858a261b4b861bfe
Author: Julian Taylor <juliantaylor108 at gmail.com>
Date: 2017-02-25 (Sat, 25 Feb 2017)
Changed paths:
M doc/release/1.13.0-notes.rst
M numpy/add_newdocs.py
M numpy/core/arrayprint.py
M numpy/core/einsumfunc.py
M numpy/core/numeric.py
M numpy/core/records.py
M numpy/core/shape_base.py
M numpy/core/src/multiarray/descriptor.c
M numpy/core/tests/test_dtype.py
M numpy/core/tests/test_ufunc.py
M numpy/fft/helper.py
M numpy/lib/arraypad.py
M numpy/lib/arrayterator.py
M numpy/lib/function_base.py
M numpy/lib/npyio.py
M numpy/lib/polynomial.py
M numpy/lib/shape_base.py
M numpy/lib/user_array.py
M numpy/linalg/linalg.py
M numpy/linalg/tests/test_linalg.py
M numpy/ma/core.py
M numpy/ma/mrecords.py
M numpy/matrixlib/defmatrix.py
Log Message:
-----------
Merge pull request #8685 from eric-wieser/shape-to-ndim
ENH: add dtype.ndim
Compare: https://github.com/numpy/numpy/compare/e9246860480b...eb271d95c0c9
More information about the Numpy-svn
mailing list