If you want to create a readable machine-learning pipeline in a single line of code, try the make_pipeline
function in scikit-learn.
make_pipeline
is especially useful when working with complex pipelines that involve many different transformers and estimators.