Returns a new data frame that contains only the rows
in the specified sequence.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public DataFrame<R, C> GetNearestRows(
IEnumerable<R> indexes,
Direction direction
)
Public Function GetNearestRows (
indexes As IEnumerable(Of R),
direction As Direction
) As DataFrame(Of R, C)
public:
DataFrame<R, C>^ GetNearestRows(
IEnumerable<R>^ indexes,
Direction direction
)
member GetNearestRows :
indexes : IEnumerable<'R> *
direction : Direction -> DataFrame<'R, 'C>
Parameters
- indexes
- Type: System.Collections.GenericIEnumerableR
A sequence of indexes of the rows to return. - direction
- Type: Extreme.DataAnalysisDirection
The direction to look for the key if an exact match is not found.
Return Value
Type:
DataFrameR,
CA new data frame containing only the rows
whose index is in
indexes.
Reference