ColumnCursorExtensions.GetColumn 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.
Overloads
GetColumn<T>(IDataView, DataViewSchema+Column) |
Extract all values of one column of the data view in a form of an IEnumerable<T>. |
GetColumn<T>(IDataView, String) |
Extract all values of one column of the data view in a form of an IEnumerable<T>. |
GetColumn<T>(IDataView, DataViewSchema+Column)
Extract all values of one column of the data view in a form of an IEnumerable<T>.
public static System.Collections.Generic.IEnumerable<T> GetColumn<T> (this Microsoft.ML.IDataView data, Microsoft.ML.DataViewSchema.Column column);
static member GetColumn : Microsoft.ML.IDataView * Microsoft.ML.DataViewSchema.Column -> seq<'T>
<Extension()>
Public Function GetColumn(Of T) (data As IDataView, column As DataViewSchema.Column) As IEnumerable(Of T)
Type Parameters
- T
The type of the values. This must match the actual column type.
Parameters
- data
- IDataView
The data view to get the column from.
- column
- DataViewSchema.Column
The column to be extracted.
Returns
Applies to
GetColumn<T>(IDataView, String)
Extract all values of one column of the data view in a form of an IEnumerable<T>.
public static System.Collections.Generic.IEnumerable<T> GetColumn<T> (this Microsoft.ML.IDataView data, string columnName);
static member GetColumn : Microsoft.ML.IDataView * string -> seq<'T>
<Extension()>
Public Function GetColumn(Of T) (data As IDataView, columnName As String) As IEnumerable(Of T)
Type Parameters
- T
The type of the values. This must match the actual column type.
Parameters
- data
- IDataView
The data view to get the column from.
- columnName
- String
The name of the column to be extracted.