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

numpy.flatiter.base

flatiter.base

A reference to the array that is iterated over.

Examples

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