ColumnSchema<C> Class

Describes one column in a data frame schema using the frame's typed column-key model.

Definition

Namespace: Numerics.NET.DataAnalysis.Schema
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public sealed class ColumnSchema<C> : IColumnSchema
Inheritance
Object  →  ColumnSchema<C>
Implements
IColumnSchema

Type Parameters

C
The element type of the data frame column index.

Remarks

A column schema records the column key, ordinal, vector element type, missing-value metadata, optional category index metadata, semantic metadata, and model role captured in a schema snapshot. It is read-only and inspection-only.

Properties

CategoryIndex Gets the category index for the column when it is backed by a categorical vector.
ElementType Gets the runtime element type of the column vector.
IsCategorical Gets whether the column is backed by a categorical vector.
Key Gets the typed key that identifies this column in the data frame column index.
MissingValues Gets the missing-value schema metadata for the column.
Ordinal Gets the zero-based column ordinal in the schema snapshot.
Role Gets the semantic role assigned to the column.
Semantics Gets semantic metadata assigned to the column.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetMissingValueInfo<T> Gets strongly typed missing-value metadata for the expected column element type.
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetMissingValueInfo<T> Attempts to get strongly typed missing-value metadata for the expected column element type.

See Also