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, np.ndarray) – Data to transform
y (pd.Series, np.ndarray) – Target data
Transformed X (and y, if passed in) with rows that had a NaN value removed.
pd.DataFrame, pd.DataFrame