The mean is the average of a set of observed numbers (sample, dataset):
$$ \bar x=\frac{1}{n}\sum_{i=1}^nx_i $$
Expectation is the theoretical long-run average of a random variable based on its probability distribution.