[Numpy-discussion] How to start at line # x when using numpy.memmap

Jeremy Conlin jlconlin at gmail.com
Fri Aug 19 09:00:31 EDT 2011


I would like to use numpy's memmap on some data files I have. The
first 12 or so lines of the files contain text (header information)
and the remainder has the numerical data. Is there a way I can tell
memmap to skip a specified number of lines instead of a number of
bytes?

Thanks,
Jeremy



More information about the NumPy-Discussion mailing list