Skip to content

dt.countna() returns wrong results for grouped columns  #3441

@oleksiyskononenko

Description

@oleksiyskononenko
>>> DT = dt.Frame([None])
>>> DT[:, dt.countna(f.C0), dt.by(f.C0)]
   |   C0     C1
   | void  int64
-- + ----  -----
 0 |   NA      0
[1 row x 2 columns]

The result should actually be

   |   C0     C1
   | void  int64
-- + ----  -----
 0 |   NA      1
[1 row x 2 columns]

Metadata

Metadata

Assignees

Labels

bugAny bugs / errors in datatable; however for severe bugs use [segfault] label

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions