code: def test_xshardstsdataset_initialization(self):
      shards_single = read_csv(
          os.path.join(self.resource_path, "chronos/single.csv")
      )
      tsdata = XShardsTSDataset.from_xshards(
          shards_single,
          dt_col="datetime",
          target_col="value",
          extra_feature_col=["extra feature"],
          id_col="id",
      )
      assert tsdata._id_list == [0]
      assert tsdata.feature_col == ["extra feature"]
      assert tsdata.target_col == ["value"]
      assert tsdata.dt_col == "datetime"
      assert tsdata.shards.num_partitions() == 1
  
      tsdata = XShardsTSDataset.from_xshards(
          shards_single,
          dt_col="datetime",
          target_col=["value"],
          extra_feature_col="extra feature",
          id_col="id",
      )
      assert tsdata._id_list == [0]
      assert tsdata.feature_col == ["extra feature"]
      assert tsdata.target_col == ["value"]
      assert tsdata.dt_col == "datetime"
      assert tsdata.shards.num_partitions() == 1
  
      tsdata = XShardsTSDataset.from_xshards(
          shards_single,
          dt_col="datetime",
          target_col=["value"],
          extra_feature_col="extra feature",
      )
      assert tsdata._id_list == ["0"]
      assert tsdata.feature_col == ["extra feature"]
      assert tsdata.target_col == ["value"]
      assert tsdata.dt_col == "datetime"
      assert tsdata.shards.num_partitions() == 1
  
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 3 for calling the TestXShardsTSDataset obj's underlying member method code with example usage: obj.test_xshardstsdataset_initialization() without return types