Data Frame<R, C>.Item Property
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Item[C] | Gets, sets or adds a column with the specified key. |
Item[Int32] | Gets the column at the specified index. |
Item(C)
Gets, sets or adds a column with the specified key.
public IVector this[
C key
] { get; set; }
Parameters
- key C
- The key of the column.
Return Value
IVectorThe column with the specified key.
Remarks
When setting a value, if a column with the specified key already exists, this column is replaced with the new value. Otherwise, a new column is added.
Exceptions
Key | The column could not be retrieved because no column with the specified key could be found. |
Dimension | The new value for the column does not have an index, and the length of the new column does not equal the number of rows in the data frame. |
Invalid | The value is the first column added to the data frame and it does not have a valid index. |
Item(Int32)
Gets the column at the specified index.
public IVector this[
int index
] { get; set; }
Parameters
- index Int32
- The zero-based index of the column.
Return Value
IVectorA IVector object.