We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7bf9f8 commit 0525bb0Copy full SHA for 0525bb0
doc/release/upcoming_changes/27160.expired.rst
@@ -0,0 +1,2 @@
1
+* ``bool(np.array([]))`` and other empty arrays will now raise an error.
2
+ Use ``arr.size > 0`` instead to check whether an array has no elements.
0 commit comments