data : array-like
Input data, as a sequence or (subclass of) ndarray.
Masked arrays and TimeSeries objects are also accepted.
The input array should be 1D or 2D at most.
If the input array is 2D, the function is applied on each column.
span : int
Size of the filtering window.
dtype : dtype, optional
Data type of the result.