Click or drag to resize
SeriesModuleAggregateK, T, TNewKey Method
Aggregates an ordered series using the method specified by `Aggregation<K>` and returns the windows or chunks as nested series. A key for each window or chunk is selected using the specified `keySelector`. ## Parameters - `aggregation` - Specifies the aggregation method using `Aggregation<K>`. This is a discriminated union listing various chunking and windowing conditions. - `keySelector` - A function that is called on each chunk to obtain a key. - `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<TNewKey, DataSegment<Series<K, T>>> Aggregate<K, T, TNewKey>(
	Aggregation<K> aggregation,
	FSharpFunc<DataSegment<Series<K, T>>, TNewKey> keySelector,
	Series<K, T> series
)

Parameters

aggregation
Type: DeedleAggregationK

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

keySelector
Type: Microsoft.FSharp.CoreFSharpFuncDataSegmentSeriesK, T, TNewKey

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

series
Type: DeedleSeriesK, T

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

Type Parameters

K
T
TNewKey

Return Value

Type: SeriesTNewKey, DataSegmentSeriesK, T

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

See Also