DATASET CURVE TO COLUMNS

Expands one or more curve-valued columns in a dataset into a set of flat scalar columns, resampling each curve to a fixed number of points. Use this worker to convert time-history or XY-curve data stored inside dataset cells into a wide tabular format suitable for ML feature engineering or DOE post-processing.

When to use

Classification: process.

Tagged: curve expansion, curve flattening, curve_to_columns, dataset reshape, feature engineering, resampling, wide format.

Inputs

Label ID Type Default Required Description
Dataset With Columns dataset_1 dataset   Input dataset containing at least one column whose cells hold curve (XY) objects; all other scalar columns are preserved in the output.
Curve Column Name column_name scalar   Name(s) of the curve-valued column(s) to expand; supports multiple selections drawn from the columns of dataset_1.
Number Of Points num_points scalar 100   Number of evenly-spaced points to which every curve is resampled before flattening into columns; default is 100.
Prefix prefix text PNT_   String prefix used to name the generated point columns (e.g., default ‘PNT_’ produces PNT_1, PNT_2, …); change to avoid name collisions.
Remove Curve Column remove_curve_column select yes   Whether to drop the original curve-valued column(s) from the output dataset after expansion; default ‘yes’ — set to ‘no’ to retain the raw curve column.
Sync Curves sync_curves select yes   Controls how curves are synchronised to a common x-axis before resampling: ‘yes’ aligns on the shared x-range, ‘yes_with_min_zero’ forces x-start to 0, ‘yes_first_last_value’ pads with first/last value, ‘no’ skips synchronisation.
Include X Values include_x select yes   Whether to also emit the resampled x-axis values as additional columns (prefixed by x_prefix); default ‘no’.
X Prefix x_prefix text X_   String prefix for the generated x-axis point columns when include_x is ‘yes’; default ‘x_’.
Add Column Name to Prefix add_col_name select no   Prepends the column name to the Prefix

Outputs

Label ID Type Description
dataset_curve_to_columns_output_1 dataset_curve_to_columns_output_1 dataset Transformed dataset in which each selected curve column has been replaced by num_points scalar columns (named PREFIX_1 … PREFIX_N), ready for tabular analysis or ML ingestion.

Disciplines

  • ai_ml.preprocessing
  • data.curve.transform
  • 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_curve_to_columns


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