numpy.ma.ediff1d
-
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.ediff1dthat takes masked values into account, seenumpy.ediff1dfor details.See also
-
numpy.ediff1d -
Equivalent function for ndarrays.
-
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.ma.ediff1d.html