def METHOD_NAME(name, x, y=None):
	dataset = dataset_map[name]
	expressions = [x]
	if y is not None:
		expressions.append(y)
	expr = dataset(*expressions)
	values = expr.minmax()
	data = {}
	for expression, (min, max) in zip(expressions, values):
		data[expression] = dict(min=min, max=max)
	#blockx = dataset.columns[x]
	#data = {"min":float(np.min(blockx)), "max":float(np.max(blockx))}
	#print data
	js = json.dumps(data)
	response= Response(js, status=200, mimetype='application/json')
	return response