DataFrame<R, C>.GetNearestRows 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#
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

ArgumentNullException

indexes is null.

See Also