DataFrame<R, C>.GetNearestRowAs<T> Method

Gets the row at the specified row index as a vector of the specified type.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Vector<T> GetNearestRowAs<T>(
	R key,
	Direction direction
)

Parameters

key  R
The key of the row to be returned.
direction  Direction
The direction to look for the key if an exact match is not found.

Type Parameters

T
The desired element type of the row.

Return Value

Vector<T>
The row with key nearest to key of the data frame as a vector with element type T.

Exceptions

KeyNotFoundExceptionA suitable key was not found in the row index.

See Also