This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).
numpy.ma.ediff1d¶
-
numpy.ma.
ediff1d
(arr, to_end=None, to_begin=None)[source]¶ Compute the differences between consecutive elements of an array.
This function is the equivalent of
numpy.ediff1d
that takes masked values into account, seenumpy.ediff1d
for details.See also
numpy.ediff1d
Equivalent function for ndarrays.