### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »

# numpy.ma.ediff1d

`numpy.ma.``ediff1d`(arr, to_end=None, to_begin=None)

  Computes the differences between consecutive elements of an array.

  This function is the equivalent of `numpy.ediff1d` that takes masked values into account.

  Returns: | output : MaskedArray

  See also

  `numpy.eddif1d`
    equivalent function for ndarrays.

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »