def mean(x):
	"""
	This function calculates the mean value of a list of numbers.
	It is equivalent to writing x.mean()
	Args:
		x (np array): array
	Returns:
		float: mean (as x.mean())
	"""
	return x.sum() / float(x.shape[1])