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.
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion