DataFrame<R, C>.GetColumns Method

Definition

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

Overload List

GetColumns(C[]) Returns a new data frame that contains only the specified columns.
GetColumns(IEnumerable<C>) Returns a new data frame that contains only the specified columns.

GetColumns(C[])

Returns a new data frame that contains only the specified columns.
C#
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.
C#
public DataFrame<R, C> GetColumns(
	IEnumerable<C> keys
)

Parameters

keys  IEnumerable<C>

Return Value

DataFrame<R, C>
A new data frame.

See Also