dataFrame.column.missing — proportion()
Description
The proportion() method of the missing object returns the proportion of missing values in the selected column.
Signature
dataFrame.column(columnName).missing.proportion()Argument
columnName(string)- The name of the column from which to count values.
Returns
proportion(number)- The number of missing values in the selected column.
Example
// log the proportion of missing values in the 'revenue' column
var count = dataFrame.column('revenu').missing.proportion();
// log the count
notebook.log(count);