DataFrameSchema<R, C>.Item Property

Definition

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

Overload List

Item[C] Gets the column schema with the specified typed column key.
Item[Int32] Gets the column schema at the specified ordinal.

Item(C)

Gets the column schema with the specified typed column key.
C#
public ColumnSchema<C> this[
	C key
] { get; }

Parameters

key  C
The typed column key.

Return Value

ColumnSchema<C>
The column schema with key key.

Exceptions

ArgumentNullExceptionkey is null.
KeyNotFoundExceptionkey is not present in the schema column index.

Item(Int32)

Gets the column schema at the specified ordinal.
C#
public ColumnSchema<C> this[
	int ordinal
] { get; }

Parameters

ordinal  Int32
The zero-based column ordinal.

Return Value

ColumnSchema<C>
The column schema at ordinal.

Exceptions

ArgumentOutOfRangeExceptionordinal is less than zero or greater than or equal to ColumnCount.

See Also