drop_na

Remove rows with missing values

drop_na() removes rows from a DataFrame where specified columns have missing values.

Parameters

Returns

The DataFrame with NA rows removed.

Examples

drop_na(df)
drop_na(df, $age, $score)