diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-07-29 14:20:48 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-07-29 14:20:48 -0500 |
commit | c50a2da70b4a5b5d23636c454b04d8afa7642d36 (patch) | |
tree | 5b20569df66fbea8dd165868ee2314f9cc83c1a6 /doc | |
parent | d61ee81e0220318ebe9404f0381c7fdfe189f647 (diff) | |
parent | 778af02eb7c1668e751f435cd2a4952a362a0433 (diff) | |
download | numpy-c50a2da70b4a5b5d23636c454b04d8afa7642d36.tar.gz |
Merge pull request #4917 from juliantaylor/zeros_like_string
BUG: fix string type inconsistency between zeros and zeros_like
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.9.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.9.0-notes.rst b/doc/release/1.9.0-notes.rst index 89acd353e..e6bedcdf8 100644 --- a/doc/release/1.9.0-notes.rst +++ b/doc/release/1.9.0-notes.rst @@ -247,6 +247,11 @@ a problem cannot occur. This change was already applied to the 1.8.1 release. +``zeros_like`` for string dtypes now returns empty strings +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +To match the `zeros` function `zeros_like` now returns an array initialized +with empty strings instead of an array filled with `'0'`. + New Features ============ |