Closed asmirnov82 closed 2 months ago
Describe the bug DataFrame NullCount property of StringDataFrameColumn works incorrectly in several scenarios:
Using constructor with length property
var strCol = new StringDataFrameColumn("String Column", 5);
Actual behavior: creates string column with 5 null elements, however NullCount property is set to 0 Expected behavior: NullCount property is set to 5
Clone method
//creates string column with 3 null values and NullCount 3 var strCol = new StringDataFrameColumn("String Column");
for (int i = 0; i < 3; i++) strCol.Append(null);
//Clone var clonedColumn = strCol.Clone();
Actual behavior: NullCount of cloned column is 0 Expected behavior: NullCount property is set to 5
Describe the bug DataFrame NullCount property of StringDataFrameColumn works incorrectly in several scenarios:
Using constructor with length property
Actual behavior: creates string column with 5 null elements, however NullCount property is set to 0 Expected behavior: NullCount property is set to 5
Clone method
for (int i = 0; i < 3; i++) strCol.Append(null);
//Clone var clonedColumn = strCol.Clone();