Click or drag to resize
FrameExtensionsNestByTRowKey1, TColumnKey, TRowKey2 Method
Given a data frame whose row index has two levels, create a series whose keys are the unique results of the keyselector projection, and whose values are those corresponding frames selected from the original data. [category:Data structure manipulation]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<TRowKey2, Frame<TRowKey1, TColumnKey>> NestBy<TRowKey1, TColumnKey, TRowKey2>(
	this Frame<TRowKey1, TColumnKey> frame,
	Func<TRowKey1, TRowKey2> keyselector
)

Parameters

frame
Type: DeedleFrameTRowKey1, TColumnKey

[Missing <param name="frame"/> documentation for "M:Deedle.FrameExtensions.NestBy``3(Deedle.Frame{``0,``1},System.Func{``0,``2})"]

keyselector
Type: SystemFuncTRowKey1, TRowKey2

[Missing <param name="keyselector"/> documentation for "M:Deedle.FrameExtensions.NestBy``3(Deedle.Frame{``0,``1},System.Func{``0,``2})"]

Type Parameters

TRowKey1
TColumnKey
TRowKey2

Return Value

Type: SeriesTRowKey2, FrameTRowKey1, TColumnKey

[Missing <returns> documentation for "M:Deedle.FrameExtensions.NestBy``3(Deedle.Frame{``0,``1},System.Func{``0,``2})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FrameTRowKey1, TColumnKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also