Click or drag to resize
FrameTRowKey, TColumnKeyIndexRowsTNewRowIndex Method (TColumnKey, Boolean)
Returns a data frame whose rows are indexed based on the specified column of the original data frame. The generic type parameter is (typically) needed to specify the type of the values in the required index column. ## Parameters - `column` - The name of a column in the original data frame that will be used for the new index. Note that the values in the column need to be unique. - `keepColumn` - Specifies whether the column used as an index should be kept in the frame. [category:Indexing]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public Frame<TNewRowIndex, TColumnKey> IndexRows<TNewRowIndex>(
	TColumnKey column,
	bool keepColumn
)

Parameters

column
Type: TColumnKey

[Missing <param name="column"/> documentation for "M:Deedle.Frame`2.IndexRows``1(`1,System.Boolean)"]

keepColumn
Type: SystemBoolean

[Missing <param name="keepColumn"/> documentation for "M:Deedle.Frame`2.IndexRows``1(`1,System.Boolean)"]

Type Parameters

TNewRowIndex

Return Value

Type: FrameTNewRowIndex, TColumnKey

[Missing <returns> documentation for "M:Deedle.Frame`2.IndexRows``1(`1,System.Boolean)"]

See Also