

def _variance_like(func_name):
    func_names = {
        'sample': func_names,
        'pop': '{0}_pop'.format(func_name),
    }

    def formatter(translator, expr):
        (arg, where, how) = expr.op().args
        return _reduction_format(translator, func_names[how], arg, where)
    return formatter

dataset/ETHPy150Open cloudera/ibis/ibis/impala/compiler.py _variance_like/VarMisuse@16/26 `func_name`->`func_names`