DATASET EXTEND ROWS¶
Extends a dataset by appending a specified number of new rows, each populated by repeating the last existing row. Use this worker to pad or extend time-series or tabular datasets when a fixed-length output is required.
When to use¶
Classification: process.
Tagged: dataset, extend_rows, process, repeat_last_row, row_padding, tabular.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Dataset | dataset_1 | dataset | — | The input dataset to be extended; each column’s last value will be repeated for the added rows. | |
| Num Of Rows | num_rows | string | 0 | Integer number of rows to append to the dataset by repeating the last row; defaults to 0 (no extension). |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Extended Dataset | dataset_extend_1 | dataset | The resulting dataset with the original rows followed by the specified number of duplicated last rows appended. |
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_extend_rows
Auto-generated from transformation schema. Worker id: dataset_extend_rows. Schema hash: f0be0ccb809f. Hand-curated docs in workerexamples/ override this page when present.