def sparse(v):
    for f, w in list(v.items()):
        if w == 0:
            del v[f]
    return v
Internally used method to replace found matches of _RE_ENV regular
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/sparse--crossover with--dataset/ETHPy150Open rapyuta/rce/rce-core/rce/monitor/common.py/ArgumentMixin._replaceEnv