def zero_broadcast_dimensions(lol, nblocks):
    f = lambda t: (t[0],) + tuple(0 if d == 1 else i for i, d in zip(t[1:], nblocks))
    return deepmap(f, lol)
Created by Fredrik Lundh (http://effbot.org/zone/re-sub.htm#unescape-html)
dataset/ETHPy150Open dask/dask/dask/array/core.py/zero_broadcast_dimensions--crossover with--dataset/ETHPy150Open sajao/CrisisLex/src-collect/tweepy1/utils.py/unescape_html