Re: [Numpy-discussion] is __array_ufunc__ ready for prime-time?

2017-11-01 Thread Nathan Goldbaum
I think the biggest issues could be resolved if __array_concatenate__ were finished. Unfortunately I don't feel like I can take that on right now. See Ryan May's talk at scipy about using an ndarray subclass for units and the issues he's run into: https://www.youtube.com/watch?v=qCo9bkT9sow On W

Re: [Numpy-discussion] is __array_ufunc__ ready for prime-time?

2017-11-01 Thread Marten van Kerkwijk
>From my experience with Quantity, routines that properly ducktype work well, those that feel the need to accept list and blatantly do `asarray` do not - even if in many cases they would have worked if they used `asanyarray`... But there are lots of nice surprises, with, e.g., `np.fft.fftfreq` jus