DATASET GET COLUMN RATIO

Computes the element-wise ratio of a named column from two datasets (Dataset 1 / Dataset 2) and returns the result as a new dataset. Use this worker when you need to normalize, compare, or derive a per-row ratio between two parallel datasets sharing a common column.

When to use

Classification: process.

Tagged: column_ratio, dataset, element_wise, ratio, transform.

Inputs

Label ID Type Default Required Description
Dataset dataset1 dataset   Numerator dataset; must contain the column specified by column_name. Accepts any tabular dataset available in the workflow.
Dataset dataset2 dataset   Denominator dataset; must contain the same column specified by column_name. Ensure no zero values exist in the target column to avoid division-by-zero.
Column Name column_name scalar   Name of the column (string, quoted) present in both datasets on which the element-wise ratio (dataset1 / dataset2) will be computed.

Outputs

Label ID Type Description
dataset_get_column_ratio_output_1 dataset_get_column_ratio_output_1 dataset Output dataset containing the element-wise ratio of the specified column (dataset1[column] / dataset2[column]); row count matches the input datasets.

Disciplines

  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=dataset_get_column_ratio


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