def axify(expr, axis, keepdims=False):
 return type(expr)(expr._child, axis=axis, keepdims=keepdims)

def axify ( expr , axis , keepdims = False ) : return type ( expr ) ( expr . _child , axis = axis , keepdims = keepdims )
inject axis argument into expression helper function for compute_up .