SeriesExtensionsDiff Method |
Name | Description | |
---|---|---|
DiffK(SeriesK, Decimal, Int32) |
Returns a series containing difference between a value in the original series and
a value at the specified offset. For example, calling `Series.diff 1 s` returns a
series where previous value is subtracted from the current one.
## Parameters
- `offset` - When positive, subtracts the past values from the current values;
when negative, subtracts the future values from the current values.
- `series` - The input series.
| |
DiffK(SeriesK, Double, Int32) |
Returns a series containing difference between a value in the original series and
a value at the specified offset. For example, calling `Series.diff 1 s` returns a
series where previous value is subtracted from the current one.
## Parameters
- `offset` - When positive, subtracts the past values from the current values;
when negative, subtracts the future values from the current values.
- `series` - The input series.
| |
DiffK(SeriesK, Int32, Int32) |
Returns a series containing difference between a value in the original series and
a value at the specified offset. For example, calling `Series.diff 1 s` returns a
series where previous value is subtracted from the current one.
## Parameters
- `offset` - When positive, subtracts the past values from the current values;
when negative, subtracts the future values from the current values.
- `series` - The input series.
| |
DiffK(SeriesK, Single, Int32) |
Returns a series containing difference between a value in the original series and
a value at the specified offset. For example, calling `Series.diff 1 s` returns a
series where previous value is subtracted from the current one.
## Parameters
- `offset` - When positive, subtracts the past values from the current values;
when negative, subtracts the future values from the current values.
- `series` - The input series.
|