Click or drag to resize
SeriesModuleSortByT, V, K Method
Returns a new series, containing the observations of the original series sorted by values returned by the specified projection function. ## Parameters - `series` - An input series whose values are sorter - `proj` - A projection function that returns a value to be compared for each value contained in the original input series. [category:Sorting and index manipulation]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, T> SortBy<T, V, K>(
	FSharpFunc<T, V> proj,
	Series<K, T> series
)

Parameters

proj
Type: Microsoft.FSharp.CoreFSharpFuncT, V

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

series
Type: DeedleSeriesK, T

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

Type Parameters

T
V
K

Return Value

Type: SeriesK, T

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

See Also