Passthrough some columns and drop others in a ColumnTransformer

Published: 30 September 2021
on channel: Data School
4,383
107

In a ColumnTransformer, you can use the strings 'passthrough' and 'drop' in place of a transformer. Useful if you need to passthrough some columns and drop others!

👉 New tips every TUESDAY and THURSDAY! 👈

🎥 Watch all tips:    • scikit-learn tips  
🗒️ Code for all tips: https://github.com/justmarkham/scikit...
💌 Get tips via email: https://scikit-learn.tips


=== WANT TO GET BETTER AT MACHINE LEARNING? ===

1) LEARN THE FUNDAMENTALS in my intro course (free!): https://courses.dataschool.io/introdu...

2) BUILD YOUR ML CONFIDENCE in my intermediate course: https://courses.dataschool.io/buildin...

3) LET'S CONNECT!
Newsletter: https://www.dataschool.io/subscribe/
Twitter:   / justmarkham  
Facebook:   / datascienceschool  
LinkedIn:   / justmarkham  


Watch video Passthrough some columns and drop others in a ColumnTransformer online without registration, duration hours minute second in high quality. This video was added by user Data School 30 September 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,38 once and liked it 10 people.