get_correlation
Compute pairwise correlation between two numeric columns using Pearson, Spearman, or Kendall. Returns the correlation value and interpretation to guide targeted data investigation.
Instructions
Compute pairwise correlation between two numeric columns. Methods: pearson, spearman, kendall. Returns value and interpretation. Measure relationship between two numeric columns. Use for targeted investigation after plot_correlation_matrix reveals interesting pairs. Example: get_correlation(col_a="Revenue", col_b="Weight", method="pearson")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_a | Yes | ||
| col_b | Yes | ||
| method | No | pearson | |
| df_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |