code: def _load_txt_uea(dataset_path):
      """Load arff file for uni/multi variate dataset
  
      Parameters
      ----------
      dataset_path: string of dataset_path
          Path to the TXT file to be read
  
      Returns
      -------
      x: numpy array of shape (n_timeseries, n_timestamps, n_features)
          Time series dataset
      y: numpy array of shape (n_timeseries, )
          Vector of targets
  
      Raises
      ------
      Exception: on any failure, e.g. if the given file does not exist or is
                 corrupted
      """
      data = numpy.loadtxt(dataset_path)
      X = to_time_series_dataset(data[:, 1:])
      y = data[:, 0].astype(int)
      return X, y
  
imports: import warnings
  from io import StringIO
  import numpy
  from sklearn.base import TransformerMixin
  from sklearn.utils import column_or_1d
  from sklearn.utils.validation import check_is_fitted
  from tslearn.backend import instantiate_backend
  from tslearn.bases import TimeSeriesBaseEstimator
label_desc: Use image node_id 13 for calling a global function with example usage: _load_txt_uea(dataset_path) and returns: X,  y