From 123b319be37f01e3c4f2e42552d4ca121b27ca38 Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Mon, 24 Feb 2014 15:22:44 +0100 Subject: 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 --- doc/release/1.9.0-notes.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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 ~~~~~ -- cgit v1.2.1