summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-08-22 11:45:45 -0700
committerCharles Harris <charlesr.harris@gmail.com>2011-08-27 07:26:59 -0600
commit976476081b78279154950d2392aff8ee9290b60f (patch)
tree2c90ae2367067ed2a6aacddbf2393e713c563963 /doc
parent447d55d17136b8516a2ce49edae9ec82f0b00046 (diff)
downloadnumpy-976476081b78279154950d2392aff8ee9290b60f.tar.gz
DOC: Add info to the release notes about the full boolean indexing change
Diffstat (limited to 'doc')
-rw-r--r--doc/release/2.0.0-notes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/2.0.0-notes.rst b/doc/release/2.0.0-notes.rst
index 5cabf245c..e8e3ae4c5 100644
--- a/doc/release/2.0.0-notes.rst
+++ b/doc/release/2.0.0-notes.rst
@@ -42,6 +42,7 @@ What doesn't work with NA:
* UFunc.reduce of multi-dimensional arrays, with skipna=True and a ufunc
that doesn't have an identity.
* UFunc.accumulate, UFunc.reduceat.
+ * Ufuncs calls with both NA masks and a where= mask at the same time.
* np.logical_and, np.logical_or, np.all, and np.any don't satisfy the
rules NA | True == True and NA & False == False yet.
* The reduction methods like <ndarray>.sum, etc. do not yet support
@@ -96,6 +97,13 @@ The default casting rule for UFunc out= parameters has been changed from
rule are likely bugs, so this change may expose previously undetected
errors in projects that depend on NumPy.
+Full-array boolean indexing used to allow boolean arrays with a size
+non-broadcastable to the array size. Now it forces this to be broadcastable.
+Since this affects some legacy code, this change will require discussion
+during alpha or early beta testing, and a decision to either keep the
+stricter behavior, or add in a hack to allow the previous behavior to
+work.
+
The functions np.diag, np.diagonal, and <ndarray>.diagonal now return a
view into the original array instead of making a copy. This makes these
functions more consistent with NumPy's general approach of taking views