Data Frame<R, C>.With Column Index<C1> Method
Returns a new data frame that relabels the columns using the specified index.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A new data frame.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public DataFrame<R, C1> WithColumnIndex<C1>(
IEnumerable<C1> newIndex
)
Parameters
- newIndex IEnumerable<C1>
- The new index of column labels.
Type Parameters
- C1
- The element type of the new column index.
Return Value
DataFrame<R, C1>A new data frame.