This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import pandas as pd | |
import numpy as np | |
# Define column names | |
REP = "rep" | |
ROUND = "round" | |
APPROACH = "Approach" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from multiprocessing import Pool | |
from time import sleep | |
def _wait(i): | |
sleep(i) | |
return i | |
def run_async(function, args_list, njobs, sleep_time_s = 0.01): |