datatable.count()

Calculate the number of non-missing values for each column from cols.

Parameters

cols
Expr

Input columns.

return
Expr

f-expression having one row, and the same names and number of columns as in cols. All the returned column stypes are int64.

except
TypeError

The exception is raised when one of the columns from cols has a non-numeric and non-string type.

See Also

  • sum() – function to calculate the sum of values.