This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).
The differences between consecutive elements of an array.
Parameters: | ary : array
to_end : number, optional
to_begin : number, optional
|
---|---|
Returns: | ed : array
|
Notes
When applied to masked arrays, this function drops the mask information if the to_begin and/or to_end parameters are used