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@scipy.org [numpy-discussion-bounces@scipy.org] per conto di Nathaniel Smith [njs@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@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. -n _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion