Inserts the given column at the given column index.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public DataFrame InsertColumn( int colIndex, IDFColumn col ) |
| Visual Basic (Declaration) |
|---|
Public Function InsertColumn ( _ colIndex As Integer, _ col As IDFColumn _ ) As DataFrame |
| Visual C++ |
|---|
public: DataFrame^ InsertColumn( int colIndex, IDFColumn^ col ) |
Parameters
- colIndex
- Type: System..::.Int32
A column index.
- col
- Type: CenterSpace.NMath.Stats..::.IDFColumn
The column to insert.
Return Value
This data frame.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the given column is not the same length as the other columns in this data frame. |