class_docstr: Abstract interface for time series perturbation.
class_docstr_tok: ["Abstract","interface","for","time","series","perturbation","."]
code: def fit(
      self,
      x: Union[pd.DataFrame, np.ndarray],
  ):
      try:
          self._fit(x)
          self._fitted = True
      except RuntimeError as e:
          raise e
      return self
  
file_path: AIX360/aix360/algorithms/tsutils/tsperturbers/tsperturber.py
imports: import numpy
  import pandas
  from typing import Union
  from abc import ABC, abstractmethod
label_desc: Use image node_id 3 for calling the TSPerturber obj's underlying member method code with example usage: obj.fit(x) and returns: self