class_docstr: This class implements an algorithm for converting an original time series into a Hankel matrix.
class_docstr_tok: ["This","class","implements","an","algorithm","for","converting","an","original","time","series","into","a","Hankel","matrix","."]
code: def __convert_ts_to_array(self):
      if isinstance(self.__time_series, pd.DataFrame):
          self.__time_series = self.__time_series.values.reshape(-1, 1)
      elif isinstance(self.__time_series, list):
          self.__time_series = np.array(self.__time_series)
      else:
          self.__time_series = self.__time_series
  
file_path: FEDOT/fedot/core/operations/evaluation/operation_implementations/data_operations/topological/hankel_matrix.py
imports: from typing import Union
  import numpy
  import pandas
  from scipy.linalg import hankel
label_desc: Use image node_id 3 for calling the HankelMatrix obj's underlying member method code with example usage: obj.__convert_ts_to_array() without return types