What are the semantics of the "take" function? I would have expected that the following have the same shape and size:
>>> a = array([1,2,3]) >>> inds = a.nonzero() >>> a[inds] array([1, 2, 3]) >>> a.take(inds) array([[1, 2, 3]]) Is there a bug somewhere here or is this intentional? Michael. _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
