8000
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.
multi_enumerate
Should do the equivalent of
def multi_enumerate(M): it = np.nditer(M, flags=["multi_index"]) for x in it: yield it.multi_index, x
but also work for Python iterables of iterables.