Returns a new data frame that relabels the columns using the specified index.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public DataFrame<R, C1> WithColumnIndex<C1>(
IEnumerable<C1> newIndex
)
Public Function WithColumnIndex(Of C1) (
newIndex As IEnumerable(Of C1)
) As DataFrame(Of R, C1)
public:
generic<typename C1>
DataFrame<R, C1>^ WithColumnIndex(
IEnumerable<C1>^ newIndex
)
member WithColumnIndex :
newIndex : IEnumerable<'C1> -> DataFrame<'R, 'C1>
Parameters
- newIndex
- Type: System.Collections.GenericIEnumerableC1
The new index of column labels.
Type Parameters
- C1
- The element type of the new column index.
Return Value
Type:
DataFrameR,
C1A new data frame.
Reference