If you want to achieve speedup have a look at Process Pools of python. Though it works great when we want to preprocess independent data such as images. In some cases it may not give better result because Process Pools require exchange of data among the python processes. If the data cannot be effectively passed among the process you may end up spending more time.