dataFrame.rows — dropMissing()
Description
The dropMissing() method of the rows object removes rows containing missing values. The removal criteria can be controlled using the mode option.
Signature
dataFrame.rows.dropMissing({ mode: 'all' })Argument
options(object)- Dropping options.
Option
mode(string)- Determines which rows are removed.
all: Remove rows containing only missing values. (Default.)any: Remove rows containing at least one missing value.
Example
// remove rows with at least one missing value
dataFrame.rows.dropMissing({ mode: 'any' });