code: def test_simple_data_sample_four_timeseries(self):
      df = self.create_test_data_sample()
      df.index.name = None
      df.sort_values(by=["id", "kind", "sort"], inplace=True)
  
      result = to_tsdata(df, "id", "kind", "val", "sort")
      expected = TEST_DATA_EXPECTED_TUPLES
  
      self.assert_data_chunk_object_equal(result, expected)
  
imports: import math
  from unittest import TestCase
  from unittest.mock import Mock
  import numpy
  import pandas
  from dask import dataframe
  from tests.fixtures import DataTestCase
  from tsfresh.feature_extraction.data import LongTsFrameAdapter, PartitionedTsData, TsDictAdapter, WideTsFrameAdapter, to_tsdata
  from tsfresh.utilities.distribution import MultiprocessingDistributor
label_desc: Use image node_id 9 for calling the DataAdapterTestCase obj's underlying member method code with example usage: obj.test_simple_data_sample_four_timeseries() without return types