DataFrame<R, C>.GetColumnsAt Method

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

GetColumnsAt(IEnumerable<Int32>) Returns a new data frame that contains only the specified columns.
GetColumnsAt(Int32[]) 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.
C#
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.
C#
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

ArgumentException

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.

See Also