Closed oleksiyskononenko closed 1 year ago
@oleksiyskononenko this is resolved in #3440
@samukweku Then we need to add a corresponding test and update PR description saying "Closes #3441".
So the issue here is that we've been returning 0
for void
columns, no matter if we calculate missing or non-missing values:
https://github.com/h2oai/datatable/blob/main/src/core/expr/head_reduce_unary.cc#L457-L460
We had to take into account the NA
value to make it work properly.
The result should actually be