[NumPy-Tickets] [NumPy] #1731: allow loadtxt() to read given number of rows

NumPy Trac numpy-tickets@scipy....
Mon Apr 4 12:11:39 CDT 2011


#1731: allow loadtxt() to read given number of rows
-------------------------+--------------------------------------------------
 Reporter:  rc           |       Owner:  somebody    
     Type:  enhancement  |      Status:  needs_review
 Priority:  normal       |   Milestone:  1.6.0       
Component:  numpy.lib    |     Version:  1.5.0       
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by rc):

 On the other hand, there is already skiprows... I mean "not reading" the
 file till its end seems to me simple enough. With the above patch one
 would get a nice functionality without extra work, and still get the speed
 of the simple loadtxt().

 PS: Thanks Paul for looking at this!

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1731#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list