Skip to main content

avg

引入版本:v1.1.0 计算算术平均值。 语法
参数 返回值 返回算术平均值。如果 x 是数值,结果为 Float64;如果 x 为空,则返回 NaN。如果 x 是日期、时间或时间间隔,结果与 x 的类型相同:平均值会四舍五入到最接近的可表示值;如果 x 为空,则返回该类型的零值。返回类型可以是 Float64、Date、Date32、DateTime、DateTime64(P)、Time、Time64(P) 或 Interval 示例 基本用法
Query
Response
空表返回非数字
Query
Response
时间间隔的平均值
Query
Response