ColumnCursorExtensions.GetColumn Method

Definition

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>

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

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.

Returns

Applies to