Click or drag to resize
StatsmaxByT, a, K Method
Returns the key and value of the greatest element in the series. The result is an optional value. When the series contains no values, the result is `None`. [category:Series statistics]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static FSharpOption<Tuple<K, T>> maxBy<T, a, K>(
	FSharpFunc<T, a> f,
	Series<K, T> series
)

Parameters

f
Type: Microsoft.FSharp.CoreFSharpFuncT, a

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

series
Type: DeedleSeriesK, T

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

Type Parameters

T
a
K

Return Value

Type: FSharpOptionTupleK, T

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

See Also