EXPAND ALL
  • Home

mean

Calculates the arithmetic mean by summing the values then dividing by the number of values.

Returns: FLOAT64

The mean of the data.

Arguments

VariableTypeDescription
argFLOAT64 / INT64 / BOOLEANThe data to average.

Examples:

df = df.agg(mean=('latency_ms', px.mean))
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.