You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
All DataFrame Elementwise methods uncorrectly work with NULL values #6820
The underlying reason for this behaviour appears to be that the comparison operation acts on ReadOnlyBuffer<T>, without first checking whether the buffer contains a valid data point.
Simple fix seems to be something like:
b = CompareIsValid(leftBitmap, rightBitmap)
v = arithmetic.CompareValues(left, right)
result = Combine(b, v)
Would need a careful eye on performance, of course. I'll investigate a bit further.
Activity
rosebyte commentedon Sep 29, 2026
Triage: seems a bug, we should fix it, any help would be appreciated.
adestr commentedon Sep 30, 2026
I'm happy to take a look.
The underlying reason for this behaviour appears to be that the comparison operation acts on
ReadOnlyBuffer<T>, without first checking whether the buffer contains a valid data point.Simple fix seems to be something like:
Would need a careful eye on performance, of course. I'll investigate a bit further.
Add 857 contribution: dotnet/machinelearning#6820
Respect null bitmaps in primitive column comparisons (#7762)