skiprows option in loadtxt
Hi all, Is the value of skiprows in loadtxt restricted to values in [0-10] ? It doesn't work for skiprows=11. Nils
On Wed, May 20, 2009 at 10:04 AM, Nils Wagner
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
On Wed, 20 May 2009 10:16:08 -0500
Ryan May
On Wed, May 20, 2009 at 10:04 AM, Nils Wagner
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
Hi all, My fault. Sorry for the noise. Nils
participants (4)
-
Nils Wagner
-
Pierre GM
-
Ryan May
-
Stéfan van der Walt