Data Frame<R, C>.Remove Rows Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Remove | Returns a new data frame that has the specified rows removed. |
Remove | 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.
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.
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.