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

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Frame<R, TNewRowIndex> IndexColumnsWith<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.IndexColumnsWith``3(Deedle.Frame{``0,``1},System.Collections.Generic.IEnumerable{``2})"]

keys
Type: System.Collections.GenericIEnumerableTNewRowIndex

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

Type Parameters

R
C
TNewRowIndex

Return Value

Type: FrameR, TNewRowIndex

[Missing <returns> documentation for "M:Deedle.FrameExtensions.IndexColumnsWith``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