numpy.flatiter.base — NumPy v2.2 Manual (original) (raw)

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