

@dispatch(UnaryMath)
def _print_python(expr, leaves=None):
    (child, scope) = print_python(leaves, expr._child)
    return (('np.%s(%s)' % (type(expr).__name__, child)), toolz.merge(scope, {
        'np': np,
    }))

dataset/ETHPy150Open blaze/blaze/blaze/compute/pyfunc.py _print_python/original