DataViewSchema.Builder.AddColumn 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向要生成的架构添加一列。
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
列批注。