DataFrame<R, C>.ColumnIndex Property

Gets or sets the column index of the data frame.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public Index<C> ColumnIndex { get; set; }

Property Value

Index<C>

Remarks

When setting the column index, the length of the new index must be the same as the number of columns in the data frame. Otherwise a DimensionMismatchException is thrown.

Exceptions

DimensionMismatchException

The length of value is not equal to the number of columns in the data frame.

See Also