The Factory Method Pattern is one of the most useful design patterns when it comes to data cleaning, feature engineering, and the like.

In most cases, you will have a bunch of feature engineering to do and create functions for each step. Instead of listing them out and running them, you could add them together in a class and interface with the class instead.

In this process, I can easily see what I am doing without having to go search a bunch in a jupyter notebook.

You will also be able to easily add a function to this “interface“ and be able to call it quickly.

#data #design #engineering #datascience #python