[Numpy-discussion] avoid a line...
dileep kunjaai
dileepkunjaai@gmail....
Thu Mar 17 05:09:26 CDT 2011
Thanks sir,,,,,, thanks a lot ......
On Thu, Mar 17, 2011 at 1:16 PM, eat <e.antero.tammi@gmail.com> wrote:
> Hi,
>
> On Thu, Mar 17, 2011 at 9:36 AM, dileep kunjaai <dileepkunjaai@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
>
>
--
DILEEPKUMAR. R
J R F, IIT DELHI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110317/83e7d324/attachment.html
More information about the NumPy-Discussion
mailing list