Click or drag to resize
SeriesModulegroupByK, T, TNewKey Method
Groups a series (ordered or unordered) using the specified key selector (`keySelector`) and then returns a series of (nested) series as the result. The outer series is indexed by the newly produced keys, the nested series are indexed with the original keys. ## 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. - `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, Series<K, T>> groupBy<K, T, TNewKey>(
	FSharpFunc<K, FSharpFunc<T, TNewKey>> keySelector,
	Series<K, T> series
)

Parameters

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

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

series
Type: DeedleSeriesK, T

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

Type Parameters

K
T
TNewKey

Return Value

Type: SeriesTNewKey, SeriesK, T

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

See Also