On Wed, May 20, 2009 at 10:04 AM, Nils Wagner
<nwag...@iam.uni-stuttgart.de>wrote:

> Hi all,
>
> Is the value of skiprows in loadtxt restricted to values
> in [0-10] ?
>
> It doesn't work for skiprows=11.


Works for me:

s = '\n'.join(map(str,range(20)))
from StringIO import StringIO
np.loadtxt(StringIO(s), skiprows=11)

The last line yields, as expected:
  array([ 11.,  12.,  13.,  14.,  15.,  16.,  17.,  18.,  19.])

This is with 1.4.0.dev6983.  Can we see code and data file?

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from Norman, Oklahoma, United States
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to