evalml.preprocessing.
drop_nan_target_rows
Drops rows in X and y when row in the target y has a value of NaN.
X (pd.DataFrame) – Data to transform
y (pd.Series) – Target values
Transformed X (and y, if passed in) with rows that had a NaN value removed.
pd.DataFrame