[Numpy-discussion] Possible Deprecation of np.ediff1d (original) (raw)
Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Aug 27 13:38:19 EDT 2018
- Previous message (by thread): [Numpy-discussion] Possible Deprecation of np.ediff1d
- Next message (by thread): [Numpy-discussion] Possible Deprecation of np.ediff1d
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
it was originally used in other functions of arraysetops (culprit yours truly) which used to use the padding functionality. Nowadays the only use I can see git-grepping the numpy sources is in the tests, so +1 for deprecating.
Cheers, r.
On 08/27/2018 07:28 PM, Tyler Reddy wrote:
Chuck suggested ( https://github.com/numpy/numpy/pull/11805#issuecomment-416069436 ) that we may want to consider deprecating np.ediff1d, which is perhaps not much more useful than np.diff, apart from having some arguably strange prepend / append behavior added in.
Related discussion on SO: https://stackoverflow.com/questions/39014324/difference-between-numpy-ediff1d-and-diff Thoughts? Best wishes, Tyler
NumPy-Discussion mailing list NumPy-Discussion at python.org https://mail.python.org/mailman/listinfo/numpy-discussion
- Previous message (by thread): [Numpy-discussion] Possible Deprecation of np.ediff1d
- Next message (by thread): [Numpy-discussion] Possible Deprecation of np.ediff1d
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]