 | DataFramePermuteColumns Method |
Reorders the columns in this data frame according to the given permutation array.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DataFrame PermuteColumns(
params int[] colIndices
)
Public Function PermuteColumns (
ParamArray colIndices As Integer()
) As DataFrame
public:
DataFrame^ PermuteColumns(
... array<int>^ colIndices
)
member PermuteColumns :
colIndices : int[] -> DataFrame
Parameters
- colIndices Int32
- The permutation array of column indices.
Return Value
DataFrameThis data frame.
ExceptionsException | Condition |
---|
InvalidArgumentException | Thrown if the number of column indices
in the permutation array is not equal to the number of columns in this data frame,
or if the permutation array does not contain unique indices. |
See Also