[Numpy-discussion] take behaviour has changed

Christian Kristukat ckkart at hoc.net
Thu Sep 21 23:45:43 EDT 2006


Bill Baxter <wbaxter <at> gmail.com> writes:

> 
> Yep, check the release notes:
> http://www.scipy.org/ReleaseNotes/NumPy_1.0
> search for 'take' on that page to find out what others have changed as well.
> --bb

Ok. Does axis=None then mean, that take(a, ind) operates on the flattened array?
This it at least what it seem to be. I noticed that the ufunc behaves
differently. a.take(ind) and a.take(ind, axis=0) behave the same, so the default
argument to axis is 0 rather than None.

Christian









More information about the NumPy-Discussion mailing list