Open asmirnov82 opened 1 year ago
Describe the bug PrimitiveColumn ElementwiseEquals, ElementwizeNotEquals and other Elementwise method ignore validity information
For example. this unit test fails as it ElementWizeEquals return true for the first item ( as 0 == null):
[Fact] public void TestElementWiseEquals() { PrimitiveDataFrameColumn<int> intColumn1 = new PrimitiveDataFrameColumn<int>("Int1", new int?[] { 0, 2, 3 }); PrimitiveDataFrameColumn<int> intColumn2 = new PrimitiveDataFrameColumn<int>("Int2", new int?[] { null, 2, 3 }); var results = intColumn1.ElementwiseEquals(intColumn2); Assert.False(results[0]); }
Describe the bug PrimitiveColumn ElementwiseEquals, ElementwizeNotEquals and other Elementwise method ignore validity information
For example. this unit test fails as it ElementWizeEquals return true for the first item ( as 0 == null):