dotnet / dotnet/machinelearning

NullCount doesn't increase when indexing

Open
#5,689 1 comment 0 reactions 1 assignee Claimed by @pgovind View on GitHub
area-DataFrame
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

The following example doesn't increase the NullCount correctly in a column.

PrimitiveColumn intColumn = new PrimitiveColumn("Int", 5);
intColumn[2] - null;
Assert.True(1, intColumn.NullCount)

This occurs because we have to differentiate between initialized but unset values and set, pre-existing values.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.