NumPy

Previous topic

numpy.nditer.enable_external_loop

Next topic

numpy.nditer.remove_axis

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.nditer.iternext

method

nditer.iternext()

Check whether iterations are left, and perform a single internal iteration without returning the result. Used in the C-style pattern do-while pattern. For an example, see nditer.

Returns
iternextbool

Whether or not there are iterations left.