[Numpy-discussion] Re: Advanced indexing doesn't follow the Principle of least astonishment

2022-12-31 Thread Andras Deak
On Thu, Dec 29, 2022, at 16:34, Robert Kern wrote: > On Thu, Dec 29, 2022 at 8:50 AM Diogo Valada > wrote: >> Hi all, >> >> New to the mailing list, so I hope I'm creating a discussion in the right >> place. >> >> Am I the only one that thinks that Advanced indexing in numpy doesn't follow >>

[Numpy-discussion] Re: Advanced indexing doesn't follow the Principle of least astonishment

2022-12-29 Thread Robert Kern
On Thu, Dec 29, 2022 at 8:50 AM Diogo Valada wrote: > Hi all, > > New to the mailing list, so I hope I'm creating a discussion in the right > place. > > Am I the only one that thinks that Advanced indexing in numpy doesn't > follow the principle of minimum astonishment? > > for example > > ```pyt