numpy.flatiter.base#

attribute

flatiter.base#

A reference to the array that is iterated over.

Examples

>>> import numpy as np
>>> x = np.arange(5)
>>> fl = x.flat
>>> fl.base is x
True