NumPy

numpy.record.flat

attribute

record.flat

a 1-d view of scalar