Click or drag to resize
SeriesModuleChunkDistanceD, K, T Method
Aggregates the input into a series of adacent chunks. A chunk is started once the distance between the first and the last key of a previous chunk is greater than the specified `distance`. The chunks are then returned as a nested series. The key of each chunk is the key of the first element in the chunk. ## Parameters - `distance` - The maximal allowed distance between keys of a chunk. 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>> ChunkDistance<D, K, T>(
	D distance,
	Series<K, T> series
)

Parameters

distance
Type: D

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

series
Type: DeedleSeriesK, T

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

Type Parameters

D
K
T

Return Value

Type: SeriesK, SeriesK, T

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

See Also