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")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"col_a": "<col_a>",
"col_b": "<col_b>"
},
"name": "get_correlation"
}
}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 |