[Numpy-discussion] Re: Proposal: Indexing by callables

2022-07-31 Thread Stephan Hoyer
On Sat, Jul 30, 2022 at 5:51 PM Matteo Santamaria wrote: > Hi all, > > > > I’d like to open a discussion on supporting callables within > `np.ndarray.__getitem__`. The intent is to make long function-chaining > expressions more ergonomic by removing the need for an intermediary, > temporary value

[Numpy-discussion] Re: Proposal: Indexing by callables

2022-07-31 Thread Andras Deak
Hi, For the sake of transparency, a short mailing list thread from November 2021 is here: https://mail.python.org/archives/list/numpy-discussion@python.org/thread/DNTC3A4CTVDYISVS57GXURJ6QP2PXPHK/ Corresponding (low-activity) feature request where you also commented: https://github.com/numpy/nu