| FrameTRowKey, TColumnKeyIndexRowsTNewRowIndex Method (TColumnKey) |
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.
The resulting frame will *not* contain the specified column. If you want to preserve the
column, use the overload that takes `keepColumn` parameter.
## 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.
[category:Indexing]
Namespace:
Deedle
Assembly:
Deedle (in Deedle.dll) Version: 1.2
Syntax public Frame<TNewRowIndex, TColumnKey> IndexRows<TNewRowIndex>(
TColumnKey column
)
Parameters
- column
- Type: TColumnKey
[Missing <param name="column"/> documentation for "M:Deedle.Frame`2.IndexRows``1(`1)"]
Type Parameters
- TNewRowIndex
Return Value
Type:
FrameTNewRowIndex,
TColumnKey[Missing <returns> documentation for "M:Deedle.Frame`2.IndexRows``1(`1)"]
See Also