[NumPy-Tickets] [NumPy] #1593: genfromtxt skip_footer has problems with comments

NumPy Trac numpy-tickets@scipy....
Thu Aug 26 04:42:29 CDT 2010


#1593: genfromtxt skip_footer has problems with comments
--------------------+-------------------------------------------------------
 Reporter:  miguel  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  2.0.0   
Component:  Other   |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------
 It seems that genfromtxt's skip_footer parameter in numpy 1.4.1 ignores
 lines with comments or data with different layout from previous rows.

 >>>print np.genfromtxt(StringIO(4*'1 2\n'+3*'12\n'), skip_header=2,
 skip_footer=3)
 []

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1593>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list