Click or drag to resize
SeriesModuleWindowDistanceD, K, T Method
Creates a sliding window based on distance between keys. A window is started at each input element and ends once the distance between the first and the last key is greater than the specified `distance`. The windows are then returned as a nested series. The key of each window is the key of the first element in the window. ## Parameters - `distance` - The maximal allowed distance between keys of a window. Note that this is an inline function - there must be `-` operator defined between `distance` and the keys of the 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, Series<K, T>> WindowDistance<D, K, T>(
	D distance,
	Series<K, T> series
)

Parameters

distance
Type: D

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

series
Type: DeedleSeriesK, T

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

Type Parameters

D
K
T

Return Value

Type: SeriesK, SeriesK, T

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

See Also