FrameTRowKey, TColumnKeyIndexRows Method |
Name | Description | |
---|---|---|
IndexRowsTNewRowIndex(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]
| |
IndexRowsTNewRowIndex(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]
|