Commands frame/cumulative_sum¶
[BETA] Add column to frame with cumulative percent sum.
POST /v1/commands/¶
GET /v1/commands/:id¶
Request¶
Route
POST /v1/commands/
Body
name: | frame/cumulative_sum |
---|---|
arguments: | frame : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e686f3fd0>>
sample_col : unicode
|
Headers
Authorization: test_api_key_1
Content-type: application/json
Description
A cumulative sum is computed by sequentially stepping through the rows, observing the column values and keeping track of the cumulative sum for each value.
Response¶
Status
200 OK
Body
Returns information about the command. See the Response Body for Get Command here below. It is the same.