Return the anomalies (deviations from the average) along the given axis.
axis : int, optional
Axis along which to perform the operation. If None, applies to a flattened version of the array.
dtype : {dtype}, optional
Datatype for the intermediary computation. If not given, the current dtype is used instead.
numpy.ma.var
numpy.ma.MaskedArray.cumprod