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)
871
Assert.Equal(1, column.
NullCount
);
882
Assert.Equal(column.Length, column.
NullCount
);
889
Assert.Equal(column.Length, column.
NullCount
);
896
Assert.Equal(0, column.
NullCount
);
903
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)
32
Assert.Equal(0, column2.
NullCount
);
35
Assert.Equal(10, column3.
NullCount
);
40
Assert.Equal(1, column2.
NullCount
);
42
Assert.Equal(1, column2.
NullCount
);
44
Assert.Equal(2, column2.
NullCount
);
46
Assert.Equal(1, column2.
NullCount
);
48
Assert.Equal(1, column2.
NullCount
);
81
Assert.Equal(5, intColumn.
NullCount
);
83
Assert.Equal(5, intColumn.
NullCount
);
85
Assert.Equal(4, intColumn.
NullCount
);
108
Assert.Equal(1, intColumn.
NullCount
);
122
Assert.Equal(1, dataFrameColumn1.
NullCount
);
140
Assert.Equal(2, intColumn.
NullCount
);
157
Assert.Equal(5, intColumn.
NullCount
);
176
Assert.Equal(6, intColumn.
NullCount
);
200
Assert.Equal(0, intColumn.
NullCount
);
219
Assert.Equal(2, intColumn.
NullCount
);
243
Assert.Equal(4, intColumn.
NullCount
);
250
Assert.Equal(5, intColumn.
NullCount
);
263
Assert.Equal(intColumn.
NullCount
, copy.
NullCount
);
282
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
302
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
324
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
345
Assert.Equal(2, clonedColumn.
NullCount
);
366
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
387
Assert.Equal(2, clonedColumn.
NullCount
);
408
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
429
Assert.Equal(column.
NullCount
, clonedColumn.
NullCount
);
535
Assert.Equal(3, sum.
NullCount
);
560
Assert.Equal(3, sum.
NullCount
);
585
Assert.Equal(3, diff.
NullCount
);
603
Assert.Equal(3, mult.
NullCount
);
621
Assert.Equal(3, div.
NullCount
);
655
Assert.Equal(0, res.
NullCount
);