[Numpy-discussion] Why is the shape of a singleton array the empty tuple?
Sun Mar 7 00:26:45 CST 2010
On Sat, Mar 6, 2010 at 9:46 PM, David Goldsmith <firstname.lastname@example.org>wrote:
> Thanks, Ian. I already figured out how to make it not so, but I still want
> to understand the design reasoning behind it being so in the first place
> (thus the use of the question "why (is it so)," not "how (to make it
Well, I can't help you with that. I would also ask why this design even
exists? Equating an array with a single number doesn't make sense to me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion