numpy.ndarray.__nonzero__ ========================= .. currentmodule:: numpy .. automethod:: ndarray.__nonzero__