Base:
property
NullCount
Microsoft.Data.Analysis.DataFrameColumn.NullCount
56 references to NullCount
Microsoft.Data.Analysis (6)
PrimitiveDataFrameColumn.cs (5)
114
protected internal override Field GetArrowField() => new Field(Name, GetArrowType(),
NullCount
!= 0);
259
var notNullValuesCount = Length -
NullCount
;
280
return (double)Convert.ChangeType((T)Sum(), typeof(double)) / (Length -
NullCount
);
362
var ret = CreateNewColumn(Name, Length -
NullCount
);
783
column.Append(Length -
NullCount
);
PrimitiveDataFrameColumn.Sort.cs (1)
26
var columnNullIndices = new Int64DataFrameColumn("NullIndices",
NullCount
);
Microsoft.Data.Analysis.Tests (50)
DataFrameTests.cs (5)
873
Assert.Equal(1, column.
NullCount
);
884
Assert.Equal(column.Length, column.
NullCount
);
891
Assert.Equal(column.Length, column.
NullCount
);
898
Assert.Equal(0, column.
NullCount
);
905
Assert.Equal(0, column.
NullCount
);
DataFrameTests.Sort.cs (4)
76
Assert.Equal(0, intColumn.
NullCount
);
78
Assert.Equal(numberOfNulls, intColumn.
NullCount
);
82
Assert.Equal(numberOfNulls, sortedIntColumn.
NullCount
);
89
Assert.Equal(numberOfNulls, intColumn.
NullCount
);
PrimitiveDataFrameColumnTests.cs (41)
38
Assert.Equal(0, column2.
NullCount
);
41
Assert.Equal(10, column3.
NullCount
);
46
Assert.Equal(1, column2.
NullCount
);
48
Assert.Equal(1, column2.
NullCount
);
50
Assert.Equal(2, column2.
NullCount
);
52
Assert.Equal(1, column2.
NullCount
);
54
Assert.Equal(1, column2.
NullCount
);
87
Assert.Equal(5, intColumn.
NullCount
);
89
Assert.Equal(5, intColumn.
NullCount
);
91
Assert.Equal(4, intColumn.
NullCount
);
114
Assert.Equal(1, intColumn.
NullCount
);
128
Assert.Equal(1, dataFrameColumn1.
NullCount
);
146
Assert.Equal(2, intColumn.
NullCount
);
163
Assert.Equal(5, intColumn.
NullCount
);
182
Assert.Equal(6, intColumn.
NullCount
);
206
Assert.Equal(0, intColumn.
NullCount
);
225
Assert.Equal(2, intColumn.
NullCount
);
249
Assert.Equal(4, intColumn.
NullCount
);
256
Assert.Equal(5, intColumn.
NullCount
);
269
Assert.Equal(intColumn.
NullCount
, copy.
NullCount
);
288
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
308
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
330
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
351
Assert.Equal(2, clonedColumn.
NullCount
);
372
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
393
Assert.Equal(2, clonedColumn.
NullCount
);
414
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
435
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
541
Assert.Equal(3, sum.
NullCount
);
566
Assert.Equal(3, sum.
NullCount
);
591
Assert.Equal(3, diff.
NullCount
);
609
Assert.Equal(3, mult.
NullCount
);
627
Assert.Equal(3, div.
NullCount
);
661
Assert.Equal(0, res.
NullCount
);