docstr: For each data transformer in pipeline transform data. Then transformed data is passed to next transformer.
  
  Parameters
  ----------
  data
      (`Sequence` of) `TimeSeries` to be transformed.
  
  Returns
  -------
  Union[TimeSeries, Sequence[TimeSeries]]
      Transformed data.
docstr_tok: ["For","each","data","transformer","in","pipeline","transform","data",".","Then","transformed","data","is","passed","to","next","transformer",".","Parameters","--","--","--","--","--","data","(","`","Sequence","`","of",")","`","TimeSeries","`","to","be","transformed",".","Returns","--","--","--","-","Union","[","TimeSeries",",","Sequence","[","TimeSeries","]","]","Transformed","data","."]
code: def transform(
      self, data: Union[TimeSeries, Sequence[TimeSeries]]
  ) -> Union[TimeSeries, Sequence[TimeSeries]]:
      """
      For each data transformer in pipeline transform data. Then transformed data is passed to next transformer.
  
      Parameters
      ----------
      data
          (`Sequence` of) `TimeSeries` to be transformed.
  
      Returns
      -------
      Union[TimeSeries, Sequence[TimeSeries]]
          Transformed data.
      """
      for transformer in self._transformers:
          data = transformer.transform(data)
      return data
  
file_path: darts/darts/dataprocessing/pipeline.py
imports: from copy import deepcopy
  from typing import Iterator, Sequence, Union
  from darts import TimeSeries
  from darts.dataprocessing.transformers import BaseDataTransformer, FittableDataTransformer, InvertibleDataTransformer
  from darts.logging import get_logger, raise_if_not
label_desc: Use image node_id 4 for calling the Pipeline obj's underlying member method code with example usage: obj.transform(data) and returns: data