On Wed, Feb 1, 2012 at 3:47 AM, Olivier Delalleau <sh...@keba.be> wrote: > I think you just can't use newaxis in advanced indexing (doc says "The > newaxis object can be used in the basic slicing syntax", and does not > mention newaxis in the advanced indexing part).
Yes, with fancy indexing the two arguments need to be broadcast together, and this fails for [0, 2] and None (newaxis is simply the None object). Stéfan _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion