def _parallel_helper(*args, **kwargs):
    obj, methodname = args[:2]
    new_args = args[2:]
    return getattr(obj, methodname)(*new_args, **kwargs)

# skip comments and merge multiple spaces
Private helper to workaround Python 2 pickle limitations to paralelize methods
dataset/ETHPy150Open oddt/oddt/oddt/scoring/functions/RFScore.py/_parallel_helper