[Numpy-discussion] 0-dim arrays inconsistency

Neal Becker ndbecker2 at gmail.com
Fri May 10 19:40:29 EDT 2013


Neal Becker wrote:

> np.array ((0,0))
> Out[10]: array([0, 0])  <<< ok, it's 2 dimensional
> 
> In [11]: np.array ((0,0)).shape
> Out[11]: (2,)  <<< except, it isn't

Sorry for the stupid question - please ignore




More information about the NumPy-Discussion mailing list