COMPUTE THE MEDIAN OF A LIST OF NUMBERS¶
Computes the median value of a list of numbers. Accepts either a comma-separated string or an array of numeric values and returns the middle value (or average of the two middle values for even-length lists). Use this worker whenever a robust central-tendency measure is needed in a workflow.
When to use¶
Classification: process.
Tagged: central_tendency, math, median, scalar, statistics, transformation.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Numbers | numbers | scalar | — | ✓ | The list of numbers to evaluate — supply as a comma-separated string (e.g. ‘3,1,4,1,5’) or as an array of numeric values; all elements must be parseable as numbers. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| math_median_output_1 | math_median_output_1 | scalar | The median (middle value, or mean of the two middle values for an even-length list) of the supplied numbers, returned as a scalar numeric value. |
Disciplines¶
- data.statistics
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=math_median
Auto-generated from transformation schema. Worker id: math_median. Schema hash: 7fd4fecb0770. Hand-curated docs in workerexamples/ override this page when present.