GET THE MODE OF A LIST OF NUMBERS

Computes the statistical mode (most frequently occurring value) of a list of numbers. Accepts either a comma-separated string or an array of numeric values. Use this worker whenever you need the most common value from a dataset.

When to use

Classification: process.

Tagged: math, mode, scalar, statistics, transformation.

Inputs

Label ID Type Default Required Description
Numbers numbers scalar A comma-separated string or array of numeric values from which the mode will be calculated (e.g. ‘1,2,2,3’ or [1,2,2,3]); required — no default is provided.

Outputs

Label ID Type Description
math_mode_output_1 math_mode_output_1 scalar The mode of the input list — the value that appears most frequently; returned as a scalar (number).

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_mode


Auto-generated from transformation schema. Worker id: math_mode. Schema hash: 7d4f33ae809e. Hand-curated docs in workerexamples/ override this page when present.