Data Frame<R, C>.Get Nearest Row 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#
The row with key key.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.