[Numpy-discussion] indices with list arg?

Magnus Lie Hetland magnus at hetland.org
Mon Dec 30 07:45:05 EST 2002


Todd Miller <jmiller at stsci.edu>:
>
[snip]
> Neither.   It  looks like a limitation of the indices function.   
> Inserting "shape = tuple(shape)" into indices() removed the limitation.

Ah.

But it's still impossible to use foo.setshape([bar]), then, I guess,
even though it works with reshape()?

> Thanks,
> Todd

-- 
Magnus Lie Hetland
http://hetland.org




More information about the NumPy-Discussion mailing list