Write a python code: using multiprocessing, each thread reads pandas dataframe, applies some function on it, and copies the result into python list that is accessible to all threads