def mkdir_and_cd(dirname):
    if not os.path.exists(dirname):
        os.makedirs(dirname)
        os.chdir(dirname)
    else:
        os.chdir(dirname)
Update some auxiliary information in *array* after some of its fields
dataset/ETHPy150Open huntrar/scrape/scrape/utils.py/mkdir_and_cd--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/arrayobj.py/update_array_info