Indeed, but that offset "it should be a multiple of the byte-size of dtype" as the help says. Indeed, this is silly.
________________________________________ Da: [email protected] [[email protected]] per conto di Nathaniel Smith [[email protected]] 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 <[email protected]> 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 [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
