diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2014-02-24 15:22:44 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2014-03-23 20:33:16 +0100 |
commit | 123b319be37f01e3c4f2e42552d4ca121b27ca38 (patch) | |
tree | d3097f53c4d18e9b5bd6f8d9a8e30879ed4a033f /doc | |
parent | 3e00e0058fb28bf22018d0d641f4a51814f5c9bb (diff) | |
download | numpy-123b319be37f01e3c4f2e42552d4ca121b27ca38.tar.gz |
ENH: Speed improvements and deprecations for np.select
The idea for this (and some of the code) originally comes from
Graeme B Bell (gh-3537).
Choose is not as fast and pretty limited, so an iterative
copyto is used instead.
Closes gh-3259, gh-3537, gh-3551, and gh-3254
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.9.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.9.0-notes.rst b/doc/release/1.9.0-notes.rst index cf33cdb1c..4a35da349 100644 --- a/doc/release/1.9.0-notes.rst +++ b/doc/release/1.9.0-notes.rst @@ -239,6 +239,12 @@ Non-integer scalars for sequence repetition Using non-integer numpy scalars to repeat python sequences is deprecated. For example ``np.float_(2) * [1]`` will be an error in the future. +``select`` input deprecations +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The integer and empty input to ``select`` is deprecated. In the future only +boolean arrays will be valid conditions and an empty ``condlist`` will be +considered an input error instead of returning the default. + C-API ~~~~~ |