Feature name mismatch in Pipeline predict method
When utilizing a scikit-learn Pipeline (version 1.0+) trained on a pandas DataFrame, the model tracks feature names to ensure data consistency. This metadata is propagated through transformers using the get_feature_names_out method. A conflict arises when the predict method is called using a NumPy array instead of a DataFrame. While the pipeline may execute