DataFrame<R, C>.RemoveRowsAt Method

Returns a new data frame that has the specified rows removed.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public virtual DataFrame<R, C> RemoveRowsAt(
	IEnumerable<int> indexes
)

Parameters

indexes  IEnumerable<Int32>
A sequence of zero-based row indexes to remove.

Return Value

DataFrame<R, C>
A new data frame with the rows whose index is in indexes removed.

Exceptions

ArgumentNullException

indexes is null.

ArgumentOutOfRangeException

One or more of the values in indexes is less than zero or greater than or equal to the number of rows in the data frame.

See Also