[Numpy-discussion] np.diff on boolean arrays now raises
Jaime Fernández del Río
jaime.frio at gmail.com
Thu Jun 15 03:08:12 EDT 2017
There is an ongoing discussion on github:
https://github.com/numpy/numpy/issues/9251
In 1.13 np.diff has started raising on boolean arrays, since subtraction of
boolean arrays is now deprecated.
A decision has to be made whether:
- raising an error is the correct thing to do, and only the docstring
needs updating, or
- backwards compatibility is more important and diff should still work
on boolean arrays.
If you have opinions on the subject, or enjoy arguing for the sake of it,
please share your thoughts either here or on github.
Thanks!
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170615/8f794836/attachment.html>
More information about the NumPy-Discussion
mailing list