Table Of Contents

Commands frame/correlation

Calculate correlation for two columns of current frame.

POST /v1/commands/

GET /v1/commands/:id

Request

Route

POST /v1/commands/

Body

name:

frame/correlation

arguments:

frame : Frame

<Missing Description>

data_column_names : list

The names of 2 columns from which to compute the correlation.


Headers

Authorization: test_api_key_1
Content-type: application/json

Description

Notes

This method applies only to columns containing numerical data.


Response

Status

200 OK

Body

Returns information about the command. See the Response Body for Get Command here below. It is the same.

GET /v1/commands/:id

Request

Route

GET /v1/commands/18

Body

(None)

Headers

Authorization: test_api_key_1
Content-type: application/json

Response

Status

200 OK

Body

float64

Pearson correlation coefficient of the two columns.