[Numpy-discussion] what would you expect A[none] to do?

Neal Becker ndbecker2 at gmail.com
Thu Dec 31 11:34:21 EST 2015


In my case, what it does is:

A.shape = (5760,)
A[none] -> (1, 5760)

In my case, use of none here is just a mistake.  But why would you want this 
to be accepted at all, and how should it be interpreted?




More information about the NumPy-Discussion mailing list