On Thu, Nov 18, 2021 at 1:46 PM Jouke Witteveen wrote:
>
> On Wed, Nov 17, 2021 at 7:51 PM Andras Deak wrote:
> >
> > On Wed, Nov 17, 2021 at 7:39 PM Sebastian Berg
> > wrote:
> >>
> >> Hi all,
> >>
> >> the `np.ndenumerate` does not work well for masked arrays (like many
> >> main namespace fu
On Wed, Nov 17, 2021 at 7:51 PM Andras Deak wrote:
>
> On Wed, Nov 17, 2021 at 7:39 PM Sebastian Berg
> wrote:
>>
>> Hi all,
>>
>> the `np.ndenumerate` does not work well for masked arrays (like many
>> main namespace functions, it simply ignores/drops the mask).
>>
>> There is a PR (https://git
I think a separate ndenumerate() in the masked array namespace would make a
lot of sense. This is much less risky than changing np.ndenumerate().
On Wed, Nov 17, 2021 at 11:54 AM Andras Deak wrote:
> On Wed, Nov 17, 2021 at 8:35 PM Sebastian Berg
> wrote:
>
>> On Wed, 2021-11-17 at 19:49 +0100,
On Wed, Nov 17, 2021 at 8:35 PM Sebastian Berg
wrote:
> On Wed, 2021-11-17 at 19:49 +0100, Andras Deak wrote:
> > On Wed, Nov 17, 2021 at 7:39 PM Sebastian Berg
> >
> > wrote:
> >
> > > Hi all,
> > >
> > > the `np.ndenumerate` does not work well for masked arrays (like
> > > many
> > > main name
On Wed, 2021-11-17 at 19:49 +0100, Andras Deak wrote:
> On Wed, Nov 17, 2021 at 7:39 PM Sebastian Berg
>
> wrote:
>
> > Hi all,
> >
> > the `np.ndenumerate` does not work well for masked arrays (like
> > many
> > main namespace functions, it simply ignores/drops the mask).
> >
> > There is a PR
On Wed, Nov 17, 2021 at 7:39 PM Sebastian Berg
wrote:
> Hi all,
>
> the `np.ndenumerate` does not work well for masked arrays (like many
> main namespace functions, it simply ignores/drops the mask).
>
> There is a PR (https://github.com/numpy/numpy/pull/20020) to add a
> version of it to `np.ma`