Base:
property
NullCount
Microsoft.Data.Analysis.DataFrameColumn.NullCount
56 references to NullCount
Microsoft.Data.Analysis (6)
PrimitiveDataFrameColumn.cs (5)
114protected internal override Field GetArrowField() => new Field(Name, GetArrowType(), NullCount != 0); 259var notNullValuesCount = Length - NullCount; 280return (double)Convert.ChangeType((T)Sum(), typeof(double)) / (Length - NullCount); 362var ret = CreateNewColumn(Name, Length - NullCount); 783column.Append(Length - NullCount);
PrimitiveDataFrameColumn.Sort.cs (1)
26var columnNullIndices = new Int64DataFrameColumn("NullIndices", NullCount);
Microsoft.Data.Analysis.Tests (50)
DataFrameTests.cs (5)
871Assert.Equal(1, column.NullCount); 882Assert.Equal(column.Length, column.NullCount); 889Assert.Equal(column.Length, column.NullCount); 896Assert.Equal(0, column.NullCount); 903Assert.Equal(0, column.NullCount);
DataFrameTests.Sort.cs (4)
76Assert.Equal(0, intColumn.NullCount); 78Assert.Equal(numberOfNulls, intColumn.NullCount); 82Assert.Equal(numberOfNulls, sortedIntColumn.NullCount); 89Assert.Equal(numberOfNulls, intColumn.NullCount);
PrimitiveDataFrameColumnTests.cs (41)
32Assert.Equal(0, column2.NullCount); 35Assert.Equal(10, column3.NullCount); 40Assert.Equal(1, column2.NullCount); 42Assert.Equal(1, column2.NullCount); 44Assert.Equal(2, column2.NullCount); 46Assert.Equal(1, column2.NullCount); 48Assert.Equal(1, column2.NullCount); 81Assert.Equal(5, intColumn.NullCount); 83Assert.Equal(5, intColumn.NullCount); 85Assert.Equal(4, intColumn.NullCount); 108Assert.Equal(1, intColumn.NullCount); 122Assert.Equal(1, dataFrameColumn1.NullCount); 140Assert.Equal(2, intColumn.NullCount); 157Assert.Equal(5, intColumn.NullCount); 176Assert.Equal(6, intColumn.NullCount); 200Assert.Equal(0, intColumn.NullCount); 219Assert.Equal(2, intColumn.NullCount); 243Assert.Equal(4, intColumn.NullCount); 250Assert.Equal(5, intColumn.NullCount); 263Assert.Equal(intColumn.NullCount, copy.NullCount); 282Assert.Equal(column.NullCount, clonedColumn.NullCount); 302Assert.Equal(column.NullCount, clonedColumn.NullCount); 324Assert.Equal(column.NullCount, clonedColumn.NullCount); 345Assert.Equal(2, clonedColumn.NullCount); 366Assert.Equal(column.NullCount, clonedColumn.NullCount); 387Assert.Equal(2, clonedColumn.NullCount); 408Assert.Equal(column.NullCount, clonedColumn.NullCount); 429Assert.Equal(column.NullCount, clonedColumn.NullCount); 535Assert.Equal(3, sum.NullCount); 560Assert.Equal(3, sum.NullCount); 585Assert.Equal(3, diff.NullCount); 603Assert.Equal(3, mult.NullCount); 621Assert.Equal(3, div.NullCount); 655Assert.Equal(0, res.NullCount);