Data Frame<R, C>.Get Nearest Rows Method
Returns a new data frame that contains only the rows
in the specified sequence.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new data frame containing only the rows whose index is in indexes.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |