Data Frame<R, C>.Get Columns 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
Get | Returns a new data frame that contains only the specified columns. |
Get | Returns a new data frame that contains only the specified columns. |
GetColumns(C[])
Returns a new data frame that contains only the specified columns.
public DataFrame<R, C> GetColumns(
params C[] keys
)
Parameters
- keys C[]
- A list of keys of the columns to return in the new data frame.
Return Value
DataFrame<R, C>A new data frame.
GetColumns(IEnumerable<C>)
Returns a new data frame that contains only the specified columns.
public DataFrame<R, C> GetColumns(
IEnumerable<C> keys
)
Parameters
- keys IEnumerable<C>
Return Value
DataFrame<R, C>A new data frame.