Keep the specified columns and drops all others from the dataset. If a timeseries column is dropped, the corresponding capabilities will be dropped for the returned dataset as well.

keep_columns_from_dataset(dataset, columns, validate = FALSE)

Arguments

dataset

The Tabular Dataset object

columns

The name or a list of names for the columns to keep.

validate

Indicates whether to validate if data can be loaded from the returned dataset. The default is False. Validation requires that the data source is accessible from current compute.

Value

A new Tabular Dataset object with only the specified columns kept.