Data Frame<R, C>.Get Columns At Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Get | Returns a new data frame that contains only the specified columns. |
Get | Returns a new data frame that contains only the specified columns. |
GetColumnsAt(IEnumerable<Int32>)
Returns a new data frame that contains only the specified columns.
public DataFrame<R, C> GetColumnsAt(
IEnumerable<int> indexes
)
Parameters
- indexes IEnumerable<Int32>
- A sequence of column indexes.
Return Value
DataFrame<R, C>A new data frame.
GetColumnsAt(Int32[])
Returns a new data frame that contains only the specified columns.
public DataFrame<R, C> GetColumnsAt(
params int[] indexes
)
Parameters
- indexes Int32[]
- An array of zero-based indexes of the columns to return.
Return Value
DataFrame<R, C>A new data frame.
Exceptions
Argument | 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. |