X is a pandas DataFrame
y is a pandas Series
The fit method throw error "ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()."
That because the pipeline's fit method need params "res = transformer.fit_transform(X, y, **fit_params)"
X is a pandas DataFrame y is a pandas Series The fit method throw error "ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()."
That because the pipeline's fit method need params "res = transformer.fit_transform(X, y, **fit_params)"