create_ts_by_column¶
- create_ts_by_column(ts: etna.datasets.tsdataset.TSDataset, column: str) etna.datasets.tsdataset.TSDataset [source]¶
Create TSDataset based on original ts with selecting only column in each segment and setting it to target.
- Parameters
ts (etna.datasets.tsdataset.TSDataset) – dataset with timeseries data
column (str) – column to select in each.
- Returns
result – dataset with selected column.
- Return type