Hi,<br><br><div class="gmail_quote">On Thu, Mar 17, 2011 at 9:36 AM, dileep kunjaai <span dir="ltr"><<a href="mailto:dileepkunjaai@gmail.com">dileepkunjaai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear sir,<br> I am try to read a file of the following format, I want to avoid the first line and read the remaining as 'float' .<br>Please help me...<br><br><br>Rain Wind Temp Pr Sal<br>0.1 1.1 0.02 0.2 0.2 <br>
0.5 0. 0. 0.4 0.8 <br>0.5 5.5 1.5 0.5 1.5 <br>3.5 0.5 1.5 5.0 2.6 <br>5.1 4.1 3.2 2.3 1.5 <br>4.4 0.9 1.5 2. 2.3 <br clear="all"></blockquote><div>You may use loadtxt(), with skiprows argument. (See more on <a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html">http://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html</a>).</div>
<div><br></div><div>Regards,</div><div>eat </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font color="#888888"><br>-- <br>DILEEPKUMAR. R<br>
J R F, IIT DELHI<br><div style="display:inline"></div><br>
</font><br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br>