Calculates the arithmetic mean by summing the values then dividing by the number of values.
The mean of the data.
df = df.agg(mean=('latency_ms', px.mean))