DataFrame.dropNulls
Drops rows by a null criterion over the selected columns. how = ANY (default) drops a row when any selected column is null; how = ALL drops a row only when every selected column is null. subset = null selects every column; an empty (non-null) subset is an explicit no-op that keeps every row (the vacuous-truth rule). Row order and all columns - selected or not - are preserved.
Parameters
subset | the column names the criterion applies to, or null for all columns |
how | the drop criterion |
Returns
the frame with the dropped rows removed.
Throws
DataFrameException for an unknown or duplicate subset
name.