I'm fighting conversion from Numeric to numpy.

One change that doesn't seem documented is that I used to be able to 
select items using lists and now it seems that I have to convert them to 
tuples.  Is that correct and is there a function buried in there that 
will accept a list for indices?

Any reason that item() can't take a list?

The weird thing is that it doesn't blow up right away when a list is 
passed in an array ref but rather returns something I don't expect.

I work with lists rather than the implicit tuples of a function call 
because then I can work with arbitrary dimensions.

In the meantime, I guess I can just convert the list to an otherwise 
unnecessary tuple.

Jim
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to