Click or drag to resize
SeriesModulePairwiseK, T Method
Returns a series containing the predecessor and an element for each input, except for the first one. The returned series is one key shorter (it does not contain a value for the first key). ## Parameters - `series` - The input series to be aggregated. ## Example let input = series [ 1 => 'a'; 2 => 'b'; 3 => 'c'] let res = input |> Series.pairwise res = series [2 => ('a', 'b'); 3 => ('b', 'c') ] [category:Grouping, windowing and chunking]

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

Parameters

series
Type: DeedleSeriesK, T

[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.Pairwise``2(Deedle.Series{``0,``1})"]

Type Parameters

K
T

Return Value

Type: SeriesK, TupleT, T

[Missing <returns> documentation for "M:Deedle.SeriesModule.Pairwise``2(Deedle.Series{``0,``1})"]

See Also