[Numpy-discussion] Getting an item in an array with its coordinates given by another array
Mon Oct 29 04:54:27 CDT 2007
> > But if I have the coordinates of the points in an array, I have to
> reshape it
> > and then convert it into a list. Or convert it into a list and then
> convert it
> > to a tuple. I know that advanced indexing is useful, but here it is not
> > coherent. tuples and lists should have the same result on the array, or
> > least it should be documented.
> I can't give you the reasons why that behaviour was chosen. But it's
> wrong that it's not documented. Before answering you I read the
> chapter in the numpy book to be sure not to tell you nonsense. So go ahead
> do so, too.
Thank you for this answer, I suppose we'll have to wait the answer of a
numpy guru ;)
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion