numpy.ndarray.__bool__
method
-
ndarray.__bool__(self, /)
-
self != 0
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.19/reference/generated/numpy.ndarray.__bool__.html
method
ndarray.__bool__(self, /)
self != 0
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.19/reference/generated/numpy.ndarray.__bool__.html