8000 DOC: Add info to the release notes about the full boolean indexing ch… · numpy/numpy@ce2f51d · GitHub
[go: up one dir, main page]

Skip to content

Commit ce2f51d

Browse files
committed
DOC: Add info to the release notes about the full boolean indexing change
1 parent dbabb8e commit ce2f51d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/release/2.0.0-notes.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ What doesn't work with NA:
4242
* UFunc.reduce of multi-dimensional arrays, with skipna=True and a ufunc
4343
that doesn't have an identity.
4444
* UFunc.accumulate, UFunc.reduceat.
45+
* Ufuncs calls with both NA masks and a where= mask at the same time.
4546
* np.logical_and, np.logical_or, np.all, and np.any don't satisfy the
4647
rules NA | True == True and NA & False == False yet.
4748
* 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
9697
rule are likely bugs, so this change may expose previously undetected
9798
errors in projects that depend on NumPy.
9899

100+
Full-array boolean indexing used to allow boolean arrays with a size
101+
non-broadcastable to the array size. Now it forces this to be broadcastable.
102+
Since this affects some legacy code, this change will require discussion
103+
during alpha or early beta testing, and a decision to either keep the
104+
stricter behavior, or add in a hack to allow the previous behavior to
105+
work.
106+
99107
The functions np.diag, np.diagonal, and <ndarray>.diagonal now return a
100108
view into the original array instead of making a copy. This makes these
101109
functions more consistent with NumPy's general approach of taking views

0 commit comments

Comments
 (0)
0