DataFrame<R, C>.GetColumnSemantics Method

Gets semantic metadata assigned to the specified column.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public ColumnSemanticInfo GetColumnSemantics(
	C key
)

Parameters

key  C
The typed column key.

Return Value

ColumnSemanticInfo
The assigned semantic metadata, or Default when the column exists and no explicit semantic metadata has been assigned.

Remarks

Column semantic metadata is owned by the data frame. It is projected into schema snapshots returned by GetSchema(), but previously returned schema objects are not updated by later semantic metadata changes.

Exceptions

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

See Also