CORR (Lakehouse v2)
두 식 사이의 피어슨 상관 계수를 반환합니다.
Analyze 구문
섹션 제목: “Analyze 구문”func.corr(get_column(table, 'revenue'), get_column(table, 'ad_spend'))Analyze 예제
섹션 제목: “Analyze 예제”func.corr(get_column(table, 'revenue'), get_column(table, 'ad_spend'))
┌───────┐│ 0.872 │└───────┘SQL 구문
섹션 제목: “SQL 구문”CORR(<revenue>, <ad_spend>)SQL 예제
섹션 제목: “SQL 예제”SELECT CORR(revenue, ad_spend) FROM marketing;
┌───────┐│ 0.872 │└───────┘