DataFrame<R, C>.RemoveRows Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

RemoveRows(IEnumerable<R>) Returns a new data frame that has the specified rows removed.
RemoveRows(Vector<Boolean>) Returns a new data frame that has the specified rows removed.

RemoveRows(IEnumerable<R>)

Returns a new data frame that has the specified rows removed.
C#
public DataFrame<R, C> RemoveRows(
	IEnumerable<R> rowKeys
)

Parameters

rowKeys  IEnumerable<R>
A sequence of row keys to remove.

Return Value

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

RemoveRows(Vector<Boolean>)

Returns a new data frame that has the specified rows removed.
C#
public DataFrame<R, C> RemoveRows(
	Vector<bool> mask
)

Parameters

mask  Vector<Boolean>
A boolean vector whose elements indicate whether the corresponding row should be removed from the data frame.

Return Value

DataFrame<R, C>
A new data frame with the rows for which mask is true removed.

See Also