[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>:
> Neither.   It  looks like a limitation of the indices function.   
> Inserting "shape = tuple(shape)" into indices() removed the limitation.


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

> Thanks,
> Todd

Magnus Lie Hetland

More information about the NumPy-Discussion mailing list