numpy.ma.ediff1d()

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, see numpy.ediff1d for details.

See also

numpy.ediff1d
Equivalent function for ndarrays.

© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.12.0/reference/generated/numpy.ma.ediff1d.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部