correlation
Compute the Pearson correlation between two numeric columns in a dataset to quantify their linear relationship and determine if changes in one column are associated with changes in the other.
Instructions
Return the Pearson correlation between two numeric columns.
Args: name: the dataset name. col_a: first numeric column. col_b: second numeric column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| col_a | Yes | ||
| col_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |