DATASET CREATE EMPTY¶
Creates a blank dataset with a specified number of rows and columns, filling every cell with a chosen initial value. Use this worker to scaffold an empty tabular structure before populating it downstream in a workflow.
When to use¶
Classification: process.
Tagged: blank, create_empty, dataset, initialize, scaffold, tabular.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Number Of Rows | num_rows | scalar | — | Integer number of rows to create in the empty dataset; leave unset to produce a zero-row (header-only) structure. | |
| Number Of Columns | num_cols | scalar | — | Integer number of columns to create; leave unset to produce a dataset with no columns. | |
| Col Prefix | col_prefix | scalar | col_ | String prefix used to auto-name each column (e.g. default ‘col_’ yields col_0, col_1, …); ignored when column names are supplied via CSV input. | |
| Initial Value | initial_value | scalar | 0 | Scalar value (numeric or string) used to fill every cell in the dataset; defaults to 0. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Dataset | dataset | dataset | Newly created empty dataset with the requested dimensions, auto-named columns, and every cell set to the specified initial value. |
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_create_empty
Auto-generated from transformation schema. Worker id: dataset_create_empty. Schema hash: f945df2537e4. Hand-curated docs in workerexamples/ override this page when present.