Human: numpy: efficiently reading a large array Assistant: 
Here is some code to construct an array with data type float32 `a` from data in binary file 'filename'

a = numpy.fromfile('filename', dtype=numpy.float32)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.