code: def test_xshardstsdataset_split(self):
      shards_multiple = read_csv(
          os.path.join(self.resource_path, "chronos/multiple.csv")
      )
      # only train and test
      (
          tsdata_train,
          tsdata_valid,
          tsdata_test,
      ) = XShardsTSDataset.from_xshards(
          shards_multiple,
          dt_col="datetime",
          target_col="value",
          extra_feature_col=["extra feature"],
          id_col="id",
          with_split=True,
          val_ratio=0,
          test_ratio=0.1,
      )
      # standard split with all three sets
      (
          tsdata_train,
          tsdata_valid,
          tsdata_test,
      ) = XShardsTSDataset.from_xshards(
          shards_multiple,
          dt_col="datetime",
          target_col="value",
          extra_feature_col=["extra feature"],
          id_col="id",
          with_split=True,
          val_ratio=0.1,
          test_ratio=0.1,
          largest_look_back=5,
          largest_horizon=2,
      )
  
      tsdata_train.feature_col.append("new extra feature")
      assert len(tsdata_train.feature_col) == 2
      assert len(tsdata_valid.feature_col) == 1
      assert len(tsdata_test.feature_col) == 1
  
      tsdata_train.target_col[0] = "new value"
      assert tsdata_train.target_col[0] == "new value"
      assert tsdata_valid.target_col[0] != "new value"
      assert tsdata_test.target_col[0] != "new value"
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/data/experimental/test_xshardstsdataset.py
imports: import pytest
  import numpy
  import pandas
  import random
  import os
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.data import TSDataset
  from zoo.chronos.data.experimental import XShardsTSDataset
  from zoo.orca.data.pandas import read_csv
  from zoo.orca.common import init_orca_context, stop_orca_context
  from pandas.testing import assert_frame_equal
  from numpy.testing import assert_array_almost_equal
label_desc: Use image node_id 5 for calling the TestXShardsTSDataset obj's underlying member method code with example usage: obj.test_xshardstsdataset_split() without return types