DataViewSchema.Builder.AddColumn Method

Definition

Add one column to the schema being built.

public void AddColumn (string name, Microsoft.ML.Data.DataViewType type, Microsoft.ML.DataViewSchema.Annotations annotations = default);
member this.AddColumn : string * Microsoft.ML.Data.DataViewType * Microsoft.ML.DataViewSchema.Annotations -> unit
Public Sub AddColumn (name As String, type As DataViewType, Optional annotations As DataViewSchema.Annotations = Nothing)

Parameters

name
String

The column name.

type
DataViewType

The column type.

annotations
DataViewSchema.Annotations

The column annotations.

Applies to