Dropna
-
class
nvtabular.ops.
Dropna
[source] Bases:
nvtabular.ops.operator.Operator
This operation detects and filters out rows with missing values.
Example usage:
# Use Dropna to define a NVTabular workflow # Default is None and will check all columns dropna_features = ['cat1', 'num1'] >> ops.Dropna() >> ... processor = nvtabular.Workflow(dropna_features)
-
transform
(col_selector: nvtabular.columns.selector.ColumnSelector, df: pandas.core.frame.DataFrame) → pandas.core.frame.DataFrame[source]
-