Re: [Numpy-discussion] variable number of columns in loadtxt/genfromtxt

2012-09-25 Thread Andreas Hilboll
> On Tue, Sep 25, 2012 at 2:31 AM, Andreas Hilboll wrote: >> I commonly have to deal with legacy ASCII files, which don't have a >> constant number of columns. The standard is 10 values per row, but >> sometimes, there are less columns. loadtxt doesn't support this, and in >> genfromtext, the rows

Re: [Numpy-discussion] variable number of columns in loadtxt/genfromtxt

2012-09-25 Thread Chris Barker
On Tue, Sep 25, 2012 at 2:31 AM, Andreas Hilboll wrote: > I commonly have to deal with legacy ASCII files, which don't have a > constant number of columns. The standard is 10 values per row, but > sometimes, there are less columns. loadtxt doesn't support this, and in > genfromtext, the rows which

[Numpy-discussion] variable number of columns in loadtxt/genfromtxt

2012-09-25 Thread Andreas Hilboll
Hi, I commonly have to deal with legacy ASCII files, which don't have a constant number of columns. The standard is 10 values per row, but sometimes, there are less columns. loadtxt doesn't support this, and in genfromtext, the rows which have less than 10 values are excluded from the resulting ar