dataFrame.column.missing — count()

Description

The count() method of the missing object returns the number of missing values in the selected column.

Signature

dataFrame.column(columnName).missing.count()
Scope
dataFrame
Family
missing
Returns
number

Argument

columnName (string)
The name of the column from which to count values.

Returns

count (number)
The number of missing values in the selected column.

Example

// log the count of missing values in the 'revenue' column
var count = dataFrame.column('revenu').missing.count();

// log the count
notebook.log(count);