CORR (Lakehouse v2)
Renvoie le coefficient de corrélation de Pearson entre deux expressions.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.corr(get_column(table, 'revenue'), get_column(table, 'ad_spend'))Exemples Analyze
Section intitulée « Exemples Analyze »func.corr(get_column(table, 'revenue'), get_column(table, 'ad_spend'))
┌───────┐│ 0.872 │└───────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »CORR(<revenue>, <ad_spend>)Exemples SQL
Section intitulée « Exemples SQL »SELECT CORR(revenue, ad_spend) FROM marketing;
┌───────┐│ 0.872 │└───────┘