Skip to main content
Version: 2.0.0

Dataset Transformations

Dataset Transformations allow you to create new dataset columns from existing Studio data using a visual workflow editor.

They are useful when you want to prepare additional columns before running experiments, without manually editing and re-uploading a CSV file.

You can publish transformed outputs in two ways:

  • Add them to the source dataset as new columns.
  • Create a new dataset containing the source columns and the transformed outputs.

Opening the transformation editor

To create a Dataset Transformation:

  1. Go to Studio > Datasets.
  2. Select Create Transformation.
  3. Studio opens the transformation editor.
Dataset Transformation editor with the component panel, canvas, and properties panel.
Dataset Transformation editor

The editor has three main areas:

AreaDescription
ComponentsAdd dataset inputs, transformation steps, and transformation outputs.
CanvasBuild the workflow by connecting components together.
PropertiesConfigure the selected component or connection.

Supported components

ComponentDescription
DatasetSelects a numeric column from a Studio dataset as an input series.
LagShifts values by a selected number of samples.
Rolling WindowCalculates a statistic over a moving window, such as mean, sum, minimum, maximum, or median.
DifferenceCalculates the change between the current value and a previous value.
AggregateResamples the series into a larger time period.
Transformation OutputDefines a publishable output column.
Note:

All Dataset inputs in one transformation must come from the same Studio dataset, although they can use different columns from that dataset.

Adding a Dataset input

Start by adding a Dataset component. Select the Studio dataset and numeric column that should be used as the input series.

Dataset input component selected with dataset and column settings shown in the properties panel.
Dataset input

Only numeric dataset columns can be selected as transformation inputs.

Adding transformations

Add transformation components from the left panel and connect them to the Dataset input.

For example, a Rolling Window component can calculate a moving average, moving sum, minimum, maximum, or median over a selected number of samples.

Dataset input connected to a Rolling Window transformation component.
Rolling Window transformation

Creating outputs

Each publishable branch must end with a Transformation Output component.

The output name becomes the dataset column name when the transformation is published.

Transformation workflow ending with a Transformation Output component.
Transformation Output

Output names must be unique and cannot duplicate existing column names when publishing to the source dataset.

Creating multiple outputs

A single Dataset Transformation can contain multiple output branches. This is useful when you want to create several related columns from the same source dataset.

Dataset Transformation workflow with multiple branches and multiple Transformation Output components.
Multiple transformed outputs

Validating a transformation

Select Validate to check whether the workflow can be executed.

Validation checks the graph structure, required connections, component settings, output names, and whether the workflow contains errors that must be fixed before publishing.

Dataset Transformation editor showing a graph validation passed message.
Validation passed
Note:

Previewing and validating do not automatically save your changes. Save the draft before publishing.

Previewing transformed outputs

Select Preview to run the current workflow and inspect the transformed output before publishing.

If the transformation has multiple outputs, choose the output you want to preview from the dropdown.

Transformation preview modal comparing a transformed output with its input series.
Transformation preview

The preview compares the transformed output with its contributing input series.

Saving drafts

Select Save to save the current draft.

Saving stores the current workflow but does not publish any dataset changes. You can return to the draft and continue editing later.

When a transformation has unsaved changes, Studio shows an Unsaved changes indicator.

Publishing transformed outputs

Select Publish when the saved transformation is ready to be applied to Studio data.

You can publish transformed outputs in two ways.

Add to existing Dataset

This adds the transformed outputs as new columns in the source dataset.

Publish Dataset Transformation modal with Add to existing Dataset selected.
Add to existing Dataset

Create a new Dataset

This creates a separate dataset containing the original source columns and the transformed outputs.

Publish Dataset Transformation modal with Create a new Dataset selected.
Create a new Dataset
Warning:

Aggregate transformations change the output timeline and row count. If a transformation includes Aggregate outputs, the outputs must be published as a new dataset rather than added to the source dataset.

Background publication

Publishing will continue in the background.

You can leave the page while publication continues. Studio shows a notification when publication completes.

Dataset Transformation editor showing that publication is running in the background.
Background publication

After publication

After publication completes, the new or updated dataset appears on the Studio Datasets page.

Studio Datasets page showing a dataset created from a published Dataset Transformation.
Published transformed dataset

Published transformation revisions and dataset versions are immutable. After a successful publication, Studio creates a new editable draft so that you can continue making changes if needed.