[Numpy-discussion] BUG in numpy.loadtxt?
Fri Sep 5 09:04:49 CDT 2008
I applied your patch in r5788 on the trunk.
I noticed there was another bug occurring when both converters and usecols
I've added regression tests for both bugs. Could you confirm that everything
is fine on your side ?
On Thu, Sep 4, 2008 at 4:47 PM, Ryan May <firstname.lastname@example.org> wrote:
> Travis E. Oliphant wrote:
> > Ryan May wrote:
> >> Stefan (or anyone else who can comment),
> >> It appears that the usecols argument to loadtxt no longer accepts numpy
> >> arrays:
> > Could you enter a ticket so we don't lose track of this. I don't
> > remember anything being intentional.
> Done: #905
> I've attached a patch that does the obvious and coerces usecols to a
> list when it's not None, so it will work for any iterable.
> I don't think it was a conscious decision, just a consequence of the
> rewrite using different methods. There are two problems:
> 1) It's an API break, technically speaking
> 2) It currently doesn't even accept tuples, which are used in the
> Can we hurry and get this into 1.2?
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
> Numpy-discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion