DataViewSchema.Builder.AddColumn 方法

定義

將一個資料行新增至要建置的架構。

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)

參數

name
String

資料行名稱。

type
DataViewType

資料行類型。

annotations
DataViewSchema.Annotations

資料行批註。

適用於