[Numpy-discussion] R: R: fast numpy.fromfile skipping data chunks

Andrea Cimatoribus Andrea.Cimatoribus at nioz.nl
Wed Mar 13 10:37:54 EDT 2013

Indeed, but that offset "it should be a multiple of the byte-size of dtype" as the help says.
Indeed, this is silly.

Da: numpy-discussion-bounces at scipy.org [numpy-discussion-bounces at scipy.org] per conto di Nathaniel Smith [njs at pobox.com]
Inviato: mercoledì 13 marzo 2013 15.32
A: Discussion of Numerical Python
Oggetto: Re: [Numpy-discussion] R: fast numpy.fromfile skipping data chunks

On Wed, Mar 13, 2013 at 2:18 PM, Andrea Cimatoribus
<Andrea.Cimatoribus at nioz.nl> wrote:
> This solution does not work for me since I have an offset before the data that is not a multiple of the datatype (it's a header containing various stuff).

np.memmap takes an offset= argument.

NumPy-Discussion mailing list
NumPy-Discussion at scipy.org

More information about the NumPy-Discussion mailing list