DataFrame<R, C>.GetNearestRow Method

Gets the row nearest to the specified row key.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public DataFrameRow<R, C> GetNearestRow(
	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.

Return Value

DataFrameRow<R, C>
The row with key key.

See Also