def dict_factory(crs, row):
    return dict(
        ((col[0], row[idx]) for idx, col in enumerate(crs.description)))
add to self the monomial coeff*x0**i0*x1**i1*...
dataset/ETHPy150Open openstack/swift/swift/common/db.py/dict_factory--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/rings.py/PolyElement._iadd_monom