Click or drag to resize

DataFramePermuteRows Method

Reorders the rows in this data frame according to the given permutation array.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DataFrame PermuteRows(
	params int[] rowIndices
)

Parameters

rowIndices  Int32
The permutation array of row indices.

Return Value

DataFrame
This data frame.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of row indices in the permutation array is not equal to the number of rows in this data frame, or if the permutation array does not contain unique indices.
Remarks
Row[ permutation[i] ] is set to the ith row in the orginal data frame. Permutation array must be the same length as the column length.
See Also