Click or drag to resize
SeriesModulegroupIntoK, T, TNewKey, TNewValue Method
Groups a series (ordered or unordered) using the specified key selector (`keySelector`) and then aggregates each group into a single value, returned in the resulting series, using the provided `f` function. ## Parameters - `keySelector` - Generates a new key that is used for aggregation, based on the original key and value. The new key must support equality testing. - `f` - A function to aggregate each group of collected elements. - `series` - An input series to be grouped. [category:Grouping, windowing and chunking]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<TNewKey, TNewValue> groupInto<K, T, TNewKey, TNewValue>(
	FSharpFunc<K, FSharpFunc<T, TNewKey>> keySelector,
	FSharpFunc<TNewKey, FSharpFunc<Series<K, T>, TNewValue>> f,
	Series<K, T> series
)

Parameters

keySelector
Type: Microsoft.FSharp.CoreFSharpFuncK, FSharpFuncT, TNewKey

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

f
Type: Microsoft.FSharp.CoreFSharpFuncTNewKey, FSharpFuncSeriesK, T, TNewValue

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

series
Type: DeedleSeriesK, T

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

Type Parameters

K
T
TNewKey
TNewValue

Return Value

Type: SeriesTNewKey, TNewValue

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

See Also