Click or drag to resize
SeriesModulePairwiseWithK, T, a Method
Aggregates the input into pairs containing the predecessor and an element for each input, except for the first one. Then calls the specified aggregation function `f` with a tuple and a key. The returned series is one key shorter (it does not contain a value for the first key). ## Parameters - `f` - A function that is called for each pair to produce result in the final series. - `series` - The input series to be aggregated. [category:Grouping, windowing and chunking]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, a> PairwiseWith<K, T, a>(
	FSharpFunc<K, FSharpFunc<Tuple<T, T>, a>> f,
	Series<K, T> series
)

Parameters

f
Type: Microsoft.FSharp.CoreFSharpFuncK, FSharpFuncTupleT, T, a

[Missing <param name="f"/> documentation for "M:Deedle.SeriesModule.PairwiseWith``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``1,``1},``2}},Deedle.Series{``0,``1})"]

series
Type: DeedleSeriesK, T

[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.PairwiseWith``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``1,``1},``2}},Deedle.Series{``0,``1})"]

Type Parameters

K
T
a

Return Value

Type: SeriesK, a

[Missing <returns> documentation for "M:Deedle.SeriesModule.PairwiseWith``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``1,``1},``2}},Deedle.Series{``0,``1})"]

See Also