Click or drag to resize
SeriesStatsExtensionsMinLevelK1, V, K2 Method
Groups the elements of the input series in groups based on the keys produced by `groupSelector` and then returns a new series containing the smallest element of each group. This operation is designed to be used with [hierarchical indexing](../features.html#indexing). ## Parameters - `series` - A series of values that are used to calculate the smallest elements - `groupSelector` - A delegate that returns a new group key, based on the key in the input series [category:Statistics]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K2, V> MinLevel<K1, V, K2>(
	this Series<K1, V> series,
	Func<K1, K2> groupSelector
)

Parameters

series
Type: DeedleSeriesK1, V

[Missing <param name="series"/> documentation for "M:Deedle.SeriesStatsExtensions.MinLevel``3(Deedle.Series{``0,``1},System.Func{``0,``2})"]

groupSelector
Type: SystemFuncK1, K2

[Missing <param name="groupSelector"/> documentation for "M:Deedle.SeriesStatsExtensions.MinLevel``3(Deedle.Series{``0,``1},System.Func{``0,``2})"]

Type Parameters

K1
V
K2

Return Value

Type: SeriesK2, V

[Missing <returns> documentation for "M:Deedle.SeriesStatsExtensions.MinLevel``3(Deedle.Series{``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 SeriesK1, V. 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