def not_none(data):
    return dict((k, v) for k, v in iteritems(data) if v is not None)
Writes code similar to:
dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/utils.py/not_none--crossover with--dataset/ETHPy150Open ajtulloch/sklearn-compiledtrees/compiledtrees/code_gen.py/code_gen_ensemble