DataViewSchema.Builder.AddColumn Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.