[Numpy-discussion] 0-dim arrays inconsistency

Neal Becker ndbecker2 at gmail.com
Fri May 10 19:36:00 EDT 2013


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





More information about the NumPy-Discussion mailing list