[NumPy-Tickets] [NumPy] #1731: allow loadtxt() to read given number of rows
NumPy Trac
numpy-tickets@scipy....
Tue Feb 1 02:41:25 CST 2011
#1731: allow loadtxt() to read given number of rows
-------------------------+--------------------------------------------------
Reporter: rc | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone: 2.0.0
Component: Other | Version: 1.5.0
Keywords: |
-------------------------+--------------------------------------------------
IMHO it would be useful to add a 'numrows' or 'nrows' parameter to the
loadtxt() function, so that one can read only a specified number of rows.
Typical use of this, together with the possibility to pass an open file
object to the function, would be to read one after another several array
data blocks separated by other information from a single text file.
See the thread [1] for background explanation.
This ticket might be related to [2], I have not found other related
tickets.
[1] http://thread.gmane.org/gmane.comp.python.numeric.general/42342
[2] http://projects.scipy.org/numpy/ticket/1107
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1731>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list