[Numpy-svn] [numpy/numpy] 778af0: BUG: fix string type inconsistency between zeros a...

GitHub noreply at github.com
Tue Jul 29 15:20:50 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 778af02eb7c1668e751f435cd2a4952a362a0433
      https://github.com/numpy/numpy/commit/778af02eb7c1668e751f435cd2a4952a362a0433
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-07-29 (Tue, 29 Jul 2014)

  Changed paths:
    M doc/release/1.9.0-notes.rst
    M numpy/core/numeric.py
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  BUG: fix string type inconsistency between zeros and zeros_like

np.zeros for strings returns empty strings while np.zeros_like of a
string array creates strings containing an string 0.


  Commit: c50a2da70b4a5b5d23636c454b04d8afa7642d36
      https://github.com/numpy/numpy/commit/c50a2da70b4a5b5d23636c454b04d8afa7642d36
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-07-29 (Tue, 29 Jul 2014)

  Changed paths:
    M doc/release/1.9.0-notes.rst
    M numpy/core/numeric.py
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #4917 from juliantaylor/zeros_like_string

BUG: fix string type inconsistency between zeros and zeros_like


Compare: https://github.com/numpy/numpy/compare/d61ee81e0220...c50a2da70b4a


More information about the Numpy-svn mailing list