[Numpy-discussion] Turn numpy.ones_like into a ufunc

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Fri May 18 09:51:15 EDT 2018


I'm greatly in favour, especially if the same can be done for
`zeros_like` and `empty_like`, but note that a tricky part is that
ufuncs do not deal very graciously with structured (void) and string
dtypes. -- Marten


More information about the NumPy-Discussion mailing list