SciPy

numpy.record.flat

record.flat

a 1-d view of scalar