IDataView.GetRowCursor(IEnumerable<DataViewSchema.Column>, Random) Method

Definition

Get a row cursor. The active column indices are those for which needCol(col) returns true. The schema of the returned cursor will be the same as the schema of the IDataView, but getting a getter for inactive columns will throw. The columnsNeeded indicate the columns that are needed to iterate over.If set to an empty IEnumerable no column is requested.

public Microsoft.ML.DataViewRowCursor GetRowCursor (System.Collections.Generic.IEnumerable<Microsoft.ML.DataViewSchema.Column> columnsNeeded, Random rand = null);
abstract member GetRowCursor : seq<Microsoft.ML.DataViewSchema.Column> * Random -> Microsoft.ML.DataViewRowCursor
Public Function GetRowCursor (columnsNeeded As IEnumerable(Of DataViewSchema.Column), Optional rand As Random = null) As DataViewRowCursor

Parameters

rand
Random

Returns

Applies to