class_docstr: TSImputePerturber removes random block from the time series data, and imputes
  the value with specified interpolation method.
class_docstr_tok: ["TSImputePerturber","removes","random","block","from","the","time","series","data",",","and","imputes","the","value","with","specified","interpolation","method","."]
code: def _fit(
      self,
      x: Union["tsFrame", np.ndarray],
  ):
      self._data = x.copy()
      return self
  
file_path: AIX360/aix360/algorithms/tsutils/tsperturbers/ts_impute_perturber.py
imports: import numpy
  import pandas
  from typing import Union
  from scipy.interpolate import interp1d
  from aix360.algorithms.tsutils.tsframe import tsFrame, to_np_array
  from aix360.algorithms.tsutils.tsperturbers.tsperturber import BlockSelector, TSPerturber
label_desc: Use image node_id 4 for calling the TSImputePerturber obj's underlying member method code with example usage: obj._fit(x) and returns: self