IDataView.GetRowCursor 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.
Get a row cursor. The columnsNeeded
indicate the active columns that are needed
to iterate over. If set to an empty IEnumerable no column is requested. 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.
public Microsoft.ML.DataViewRowCursor GetRowCursor (System.Collections.Generic.IEnumerable<Microsoft.ML.DataViewSchema.Column> columnsNeeded, Random rand = default);
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 = Nothing) As DataViewRowCursor
Parameters
- columnsNeeded
- IEnumerable<DataViewSchema.Column>
The active columns needed. If passed an empty IEnumerable no column is requested.