Hi, On Thu, Mar 17, 2011 at 9:36 AM, dileep kunjaai <dileepkunj...@gmail.com>wrote:
> Dear sir, > I am try to read a file of the following format, I want to avoid the first > line and read the remaining as 'float' . > Please help me... > > > Rain Wind Temp Pr Sal > 0.1 1.1 0.02 0.2 0.2 > 0.5 0. 0. 0.4 0.8 > 0.5 5.5 1.5 0.5 1.5 > 3.5 0.5 1.5 5.0 2.6 > 5.1 4.1 3.2 2.3 1.5 > 4.4 0.9 1.5 2. 2.3 > You may use loadtxt(), with skiprows argument. (See more on http://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html). Regards, eat > > -- > DILEEPKUMAR. R > J R F, IIT DELHI > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion