ArifulHossain tuhin wrote:

> I have this data file which contains raw data in newline terminated for
> like below:
> 
> 10.6626
> 11.2683
> 11.9244
> 12.5758
> 14.1402
> 15.1636
> 
> Now i want to read that file and import this data into a numpy array. how
> should i go about it?

myarray = numpy.loadtxt(filename)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to