_select_segments_subset¶
- _select_segments_subset(ts: etna.datasets.tsdataset.TSDataset, segments: List[str]) etna.datasets.tsdataset.TSDataset [source]¶
Create TSDataset with certain segments.
- Parameters
ts (etna.datasets.tsdataset.TSDataset) – dataset with timeseries data
segments (List[str]) – list with segments names
- Returns
result – dataset with selected column.
- Return type