create_ts_by_column

create_ts_by_column(ts: TSDataset, column: str) TSDataset[source]

Create TSDataset based on original ts with selecting only column in each segment and setting it to target.

Parameters
  • ts (TSDataset) – dataset with timeseries data

  • column (str) – column to select in each.

Returns

result – dataset with selected column.

Return type

TSDataset