DataFrame<R, C>.SortByIndex Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

SortByIndex() Sorts the data frame by the row index in ascending order.
SortByIndex(SortOrder) Sorts the data frame by the row index.

SortByIndex

Sorts the data frame by the row index in ascending order.
C#
public DataFrame<R, C> SortByIndex()

Return Value

DataFrame<R, C>
A new data frame that has been sorted by its index in ascending order.

SortByIndex(SortOrder)

Sorts the data frame by the row index.
C#
public DataFrame<R, C> SortByIndex(
	SortOrder sortOrder
)

Parameters

sortOrder  SortOrder
The desired sort order.

Return Value

DataFrame<R, C>
A new data frame that has been sorted by its index in the order specified by sortOrder.

See Also