Click or drag to resize
FrameExtensionsIndexRowsWithR, C, TNewRowIndex Method
Replace the row index of the frame with the provided sequence of row keys. The rows of the frame are assigned keys according to the current order, or in a non-deterministic way, if the current row index is not ordered. ## Parameters - `frame` - Source data frame whose row index are to be replaced. - `keys` - A collection of new row keys. [category:Data structure manipulation]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Frame<TNewRowIndex, C> IndexRowsWith<R, C, TNewRowIndex>(
	this Frame<R, C> frame,
	IEnumerable<TNewRowIndex> keys
)

Parameters

frame
Type: DeedleFrameR, C

[Missing <param name="frame"/> documentation for "M:Deedle.FrameExtensions.IndexRowsWith``3(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``2})"]

keys
Type: System.Collections.GenericIEnumerableTNewRowIndex

[Missing <param name="keys"/> documentation for "M:Deedle.FrameExtensions.IndexRowsWith``3(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``2})"]

Type Parameters

R
C
TNewRowIndex

Return Value

Type: FrameTNewRowIndex, C

[Missing <returns> documentation for "M:Deedle.FrameExtensions.IndexRowsWith``3(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``2})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FrameR, C. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also