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)
The Tabular Dataset object
The name or a list of names for the columns to keep.
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.
A new Tabular Dataset object with only the specified columns kept.