Click or drag to resize

DataFrameSwapColumns Method

Swaps the position of the given columns in the data frame.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DataFrame SwapColumns(
	int colIndex1,
	int colIndex2
)

Parameters

colIndex1  Int32
A column index.
colIndex2  Int32
A column index.

Return Value

DataFrame
Exceptions
ExceptionCondition
IndexOutOfRangeException Thrown if a given column index is negative, or greater than or equal to the number of columns.
See Also