AVG (Lakehouse v2)
数値列の平均値を返します。
Analyze の構文
Section titled “Analyze の構文”func.avg(get_column(table, 'salary'))Analyze の例
Section titled “Analyze の例”func.avg(get_column(table, 'salary'))SQL の構文
Section titled “SQL の構文”AVG(<salary>)SQL の例
Section titled “SQL の例”SELECT department, AVG(salary) FROM employees GROUP BY department;
┌────────────┬──────────────┐│ department │ avg(salary) │├────────────┼──────────────┤│ Sales │ 65000.00 ││ IT │ 82000.00 │└────────────┴──────────────┘