Reading a binary .dat file as an array
I think that numpy.fromfile is what you want here:
import numpy as np
myarray = np.fromfile('BinaryData.dat', dtype=float)
Also note that according to the docs, this is not the best way to store data as "information on precision and endianness is lost". In other words, you need to make sure that the datatype passed to dtype is compatible with what you originally wrote to the file.