Jaidev Deshpande wrote: > I have a large text file with more than 50k lines and about 784 floats in > each line. > > How can I read the whole file as a single numpy array? Have you tried numpy.loadtxt()?