Sklearn has a new function called ColumnTransformer just doing what you described: https://scikit-learn.org/stable/modules/compose.html#column-transformer
To use it, you need to upgrade your sklearn to 0.20.
Sklearn has a new function called ColumnTransformer just doing what you described: https://scikit-learn.org/stable/modules/compose.html#column-transformer
To use it, you need to upgrade your sklearn to 0.20.
Changing the world, one post at a time. Sr Data Scientist, Toronto Canada. https://www.linkedin.com/in/susanli/