Create a new dataset from a template dataset, using its column names and data types, but omitting the rows. An efficient alternative to system.dataset.deleteRows(ds, range(ds.rowCount)).
deleteAllRows(dataset) returns Dataset
Argument | Data Type | Description |
---|---|---|
dataset | Dataset | The source dataset to be treated as a template. |