code: def _load(self, metrix):
      
      if isinstance(metrix, TimeSeries):
        return metrix
      if isinstance(metrix, dict):
        return TimeSeries(metrix)
      return TimeSeries(utils.read_csv(metrix))
docs: Load time series.
      :param timeseries: a TimeSeries, a dictionary or a path to a csv file(str).
      :return TimeSeries: a TimeSeries object.