

@dispatch(Field)
def _print_python(expr, leaves=None):
    (child, scope) = print_python(leaves, expr._child)
    index = expr._child.fields.index(expr._name)
    return (('%s[%d]' % (parenthesize(child), index)), scope)

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