start new:
tmux
start new with session name:
tmux new -s myname
from joblib import Parallel, delayed | |
import multiprocessing | |
import pandas as pd | |
import time | |
def applyParallel(dfGrouped, func): | |
retLst = Parallel(n_jobs=multiprocessing.cpu_count())(delayed(func)(group) for name, group in dfGrouped) | |
return pd.concat(retLst) | |
def myfunc(df) | |
return df | |