Click or drag to resize
FrameModuleGroupRowsByIndexR, K, C Method
Group rows of a data frame using the specified `keySelector`. The selector is called with a key of each row and should return a new key. The result is a frame with multi-level index, here the first level is formed by the newly created keys. [category:Grouping, windowing and chunking]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Frame<Tuple<K, R>, C> GroupRowsByIndex<R, K, C>(
	FSharpFunc<R, K> keySelector,
	Frame<R, C> frame
)

Parameters

keySelector
Type: Microsoft.FSharp.CoreFSharpFuncR, K

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

frame
Type: DeedleFrameR, C

[Missing <param name="frame"/> documentation for "M:Deedle.FrameModule.GroupRowsByIndex``3(Microsoft.FSharp.Core.FSharpFunc{``0,``1},Deedle.Frame{``0,``2})"]

Type Parameters

R
K
C

Return Value

Type: FrameTupleK, R, C

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

See Also