Re: [Numpy-discussion] Exact semantics of ufunc.reduce

2018-10-12 Thread Sebastian Berg
On Fri, 2018-10-12 at 17:34 +0200, Hameer Abbasi wrote: > Hello! > > I’m trying to investigate the exact way ufunc.reduce works when given > a custom dtype. Does it cast before or after the operation, or > somewhere in between? How does this differ from ufunc.reduceat, for > example? > I am not

[Numpy-discussion] Exact semantics of ufunc.reduce

2018-10-12 Thread Hameer Abbasi
Hello! I’m trying to investigate the exact way ufunc.reduce works when given a custom dtype. Does it cast before or after the operation, or somewhere in between? How does this differ from ufunc.reduceat, for example? We ran into this issue in pydata/sparse#191 (https://github.com/pydata/sparse