Glossary: ML Beyond the Basics
FunctionTransformer
A scikit-learn class that wraps an ordinary function as a pipeline step. It is used for stateless rules, like filling 'nothing happened' gaps. `feature_names_out="one-to-one"` tells scikit-learn the columns are unchanged.