Data Frame<R, C>.Get Nearest Rows Method
Returns a new data frame that contains only the rows
in the specified sequence.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A new data frame containing only the rows whose index is in indexes.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public DataFrame<R, C> GetNearestRows(
IEnumerable<R> indexes,
Direction direction
)
Parameters
- indexes IEnumerable<R>
- A sequence of indexes of the rows to return.
- direction Direction
- The direction to look for the key if an exact match is not found.
Return Value
DataFrame<R, C>A new data frame containing only the rows whose index is in indexes.
Exceptions
Argument | indexes is null. |