def assoc_in(d, keys, value, factory=dict):
    return update_in(d, keys, lambda x: value, value, factory)
Return a new dict with new, potentially nested, key value pair
dataset/ETHPy150Open pytoolz/toolz/toolz/dicttoolz.py/assoc_in