On Tue, Aug 28, 2018 at 12:27 PM Ralf Gommers
On Tue, Aug 28, 2018 at 12:21 PM Marten van Kerkwijk < m.h.vankerkwijk@gmail.com> wrote:
On Mon, Aug 27, 2018 at 10:05 PM Stephan Hoyer
wrote: - It appears in astropy, dask, pandas, pint, scipy and TensorFlow.
The only reason it appears in astropy is because of tests that Quantity works correctly with it; we do not actually use it...
So that's at least a few hits that do not count as arguments to keep it! I'm in favour of a PendingDeprecationWarning.
We should at least first merge the PR that adds the same padding behavior to np.diff before doing this, then such a warning could say to just use that and get unchanged behavior.
The proposed behavior for np.diff() is different, but it should solve the same use-cases.