29 implementations of GetRowCount
Microsoft.Data.Analysis (1)
DataFrame.IDataView.cs (1)
41long? IDataView.GetRowCount() => Rows.Count;
Microsoft.ML.Data (24)
Data\RowCursorUtils.cs (1)
538public long? GetRowCount()
DataLoadSave\Binary\BinaryLoader.cs (1)
741public long? GetRowCount() => RowCount;
DataLoadSave\Database\DatabaseLoader.cs (1)
715public long? GetRowCount() => null;
DataLoadSave\LegacyCompositeDataLoader.cs (1)
576public long? GetRowCount()
DataLoadSave\Text\TextLoader.cs (1)
1650public long? GetRowCount()
DataLoadSave\Transpose\TransposeLoader.cs (1)
617public long? GetRowCount()
DataView\AppendRowsDataView.cs (1)
129public long? GetRowCount()
DataView\ArrayDataViewBuilder.cs (1)
204public long? GetRowCount() { return _rowCount; }
DataView\BatchDataViewMapperBase.cs (1)
28public long? GetRowCount() => _source.GetRowCount();
DataView\CacheDataView.cs (1)
198public long? GetRowCount()
DataView\DataViewConstructionUtils.cs (1)
482public abstract long? GetRowCount();
DataView\EmptyDataView.cs (1)
31public long? GetRowCount() => 0;
DataView\OpaqueDataView.cs (1)
26public long? GetRowCount() => _source.GetRowCount();
DataView\Transposer.cs (3)
293public long? GetRowCount() 796public long? GetRowCount() 1441public long? GetRowCount()
DataView\ZipDataView.cs (1)
59public long? GetRowCount()
Evaluators\RankingEvaluator.cs (1)
617public long? GetRowCount()
Transforms\ColumnSelecting.cs (1)
677public long? GetRowCount() => Source.GetRowCount();
Transforms\NopTransform.cs (1)
115public long? GetRowCount()
Transforms\PerGroupTransformBase.cs (1)
152public long? GetRowCount()
Transforms\SkipTakeFilter.cs (1)
193public override long? GetRowCount()
Transforms\TransformBase.cs (2)
50public abstract long? GetRowCount(); 141public override long? GetRowCount() => null;
Microsoft.ML.Samples (1)
Dynamic\SimpleDataViewImplementation.cs (1)
169public long? GetRowCount() => null;
Microsoft.ML.Transforms (3)
CustomMappingFilter.cs (1)
35public long? GetRowCount() => null;
StatefulFilterTransform.cs (1)
97public long? GetRowCount()
SvmLight\SvmLightLoader.cs (1)
417public long? GetRowCount()
36 references to GetRowCount
Microsoft.Data.Analysis.Tests (2)
DataFrameIDataViewTests.cs (2)
263Assert.Equal(dfAsIDataView.GetRowCount(), newDf.Rows.Count); 277Assert.Equal(dfAsIDataView.GetRowCount(), newDf.Rows.Count);
Microsoft.ML.AutoML (1)
Sweepers\SmacSweeper.cs (1)
125Runtime.Contracts.Assert(data.GetRowCount() == targets.Length, "This data view will have as many rows as there have been evaluations");
Microsoft.ML.Data (23)
Data\DataViewUtils.cs (2)
79/// and counting if <see cref="IDataView.GetRowCount"/> insists on returning <c>null</c>. 83long? countNullable = view.GetRowCount();
DataLoadSave\LegacyCompositeDataLoader.cs (1)
578return View.GetRowCount();
DataLoadSave\Text\TextSaver.cs (1)
440double rowCount = data.GetRowCount() ?? double.NaN;
DataLoadSave\Transpose\TransposeLoader.cs (4)
244var rowCountNull = view.GetRowCount(); 307var rowCountNull = view.GetRowCount(); 368get { return _header.RowCount == _schemaEntry.GetView().GetRowCount(); } 389if (_header.RowCount == view.GetRowCount())
DataView\AppendRowsDataView.cs (2)
93long? count = dv.GetRowCount(); 134var cur = source.GetRowCount();
DataView\BatchDataViewMapperBase.cs (1)
28public long? GetRowCount() => _source.GetRowCount();
DataView\CacheDataView.cs (1)
92_rowCount = _subsetInput.GetRowCount() ?? -1;
DataView\OpaqueDataView.cs (1)
26public long? GetRowCount() => _source.GetRowCount();
DataView\Transposer.cs (1)
800return _input.GetRowCount();
DataView\ZipDataView.cs (1)
64var cur = source.GetRowCount();
Scorers\RowToRowScorerBase.cs (1)
155if (inputs.Length == 1 && n > 1 && WantParallelCursors(predicate) && (Source.GetRowCount() ?? int.MaxValue) > n)
Transforms\ColumnSelecting.cs (1)
677public long? GetRowCount() => Source.GetRowCount();
Transforms\NopTransform.cs (1)
117return Source.GetRowCount();
Transforms\PerGroupTransformBase.cs (1)
154return Source.GetRowCount();
Transforms\SkipTakeFilter.cs (1)
197long? count = Source.GetRowCount();
Transforms\TransformBase.cs (1)
120public sealed override long? GetRowCount() { return Source.GetRowCount(); }
Transforms\ValueToKeyMappingTransformer.cs (2)
488double rowCount = keyData.GetRowCount() ?? double.NaN; 591double rowCount = trainingData.GetRowCount() ?? double.NaN;
Microsoft.ML.Mkl.Components (1)
VectorWhitening.cs (1)
247long? rows = inputData.GetRowCount();
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
130_host.Assert(view.GetRowCount() == targets.Length, "This data view will have as many rows as there have been evaluations");
Microsoft.ML.TestFramework (2)
DataPipe\TestDataPipe.cs (2)
1205Assert.True(view.GetRowCount().HasValue); 1206Assert.Equal((long)rows, view.GetRowCount().Value);
Microsoft.ML.Tests (1)
Scenarios\Api\TestApi.cs (1)
158Assert.Null(filter.GetRowCount());
Microsoft.ML.TimeSeries (2)
SequentialTransformBase.cs (1)
387return _transform.GetRowCount();
SequentialTransformerBase.cs (1)
580=> _transform.GetRowCount();
Microsoft.ML.Transforms (3)
CountFeatureSelection.cs (1)
324double rowCount = input.GetRowCount() ?? double.NaN;
SvmLight\SvmLightLoader.cs (1)
789public long? GetRowCount() => _view.GetRowCount();
Text\NgramTransform.cs (1)
266var rowCount = trainingData.GetRowCount() ?? double.NaN;