datatable.Frame.countna1()

Return the number of NA values in a single-column Frame.

This function is a shortcut for:

DT.countna()[0, 0]

Parameters

except
ValueError

If called on a Frame that has more or less than one column.

return
int

See Also

  • .countna() – similar to this method, but can be applied to a Frame with an arbitrary number of columns.

  • dt.count() – function for counting non-NA (“valid”) values in a column; can also be applied per-group.