[Numpy-discussion] genfromtxt usage

2010-08-25 Thread Antoine Dechaume
Hello, I am trying to read a file with a variable number of values on each lines, using genfromtxt and missing_values or filling_values arguments. The usage of those arguments is not clear in the documentation, if what I am trying to do is possible, how could I do it? Thanks, Antoine. ___

Re: [Numpy-discussion] ndarray.resize that preserve view content ?

2010-08-04 Thread Antoine Dechaume
both efficiently? > > A[:5,:5].copy() > will give you a new, contiguous array that has the same contents as > A[5:,5:], but in a new chunk of memory. Is this what you need? > > > > > On Aug 4, 2010, at 11:17 AM, Antoine Dechaume wrote: > > > I forgot to refer to resi

Re: [Numpy-discussion] ndarray.resize that preserve view content ?

2010-08-04 Thread Antoine Dechaume
at 09:29, Antoine Dechaume wrote: > > Hi, > > > > given A=empty([10,10]), I would like to keep A[:5,:5] as a contiguous > memory > > segment. > > > > How to do it efficiently? > > I'm not sure I understand what you want. Your Subject line and the >

[Numpy-discussion] ndarray.resize that preserve view content ?

2010-08-04 Thread Antoine Dechaume
Hi, given A=empty([10,10]), I would like to keep A[:5,:5] as a contiguous memory segment. How to do it efficiently? Thanks. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion