Increment the multi-dimensional index by one.
ndincr takes care of the “wrapping around” of the axes. It is called by ndindex.next and not normally used directly.
numpy.ndindex
numpy.ndindex.next
Enter search terms or a module, class or function name.