i'm a newbie on multiprocessing.
What I'm trying to achieve is to run multiple function in sequence within a process using multiprocessing.
Example:
I have 5 dataframes that needs to be inserted in a database in 5 separate tables.
Before Inserting I'd like to check that data format is correct, that the column order is correct, a brief check of data quality.
Let's suppose that I've wrote 4 functions, namely correct_data_format(), column_order() and data_quality(). Add also an insert_db() functions.
I'd like to run those 4 functions for each dataframe.
In my mind I should have 5 different process for each dataframe and each process should run in sequence the 4 functions mentioned above ( correct_data_format() -> column_order -> data_quality -> insert_db)
How to achieve that using multiprocessing package?