[NumPy-Tickets] [NumPy] #1593: genfromtxt skip_footer has problems with comments
NumPy Trac
numpy-tickets@scipy....
Thu Oct 14 08:08:25 CDT 2010
#1593: genfromtxt skip_footer has problems with comments
--------------------+-------------------------------------------------------
Reporter: miguel | Owner: somebody
Type: defect | Status: needs_decision
Priority: normal | Milestone: 2.0.0
Component: Other | Version:
Keywords: |
--------------------+-------------------------------------------------------
Comment(by rgommers):
{{{
In [5]: print(np.genfromtxt(StringIO(4*'1 2\n'+3*'12\n'), skip_header=2,
skip_footer=3))
[[ 1. 2.]
[ 1. 2.]]
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1593#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list