code: def test_dask_dataframe_with_kind(self):
      test_df = dd.from_pandas(
          pd.DataFrame(
              {"id": [1, 2], "kind": ["a", "a"], "value": [1, 2]}
          ),
          npartitions=1,
      )
  
      result = to_tsdata(test_df, column_id="id", column_kind="kind")
      self.assertEqual(result.column_id, "id")
      self.assertEqual(result.column_kind, "kind")
      self.assertEqual(result.column_value, "value")
  
      def test_f(chunk):
          return pd.DataFrame(
              {"id": chunk[0], "variable": chunk[1], "value": chunk[2]}
          )
  
      return_f = result.apply(
          test_f,
          meta=(("id", "int"), ("variable", "int"), ("value", "int")),
      ).compute()
      pd.testing.assert_frame_equal(
          return_f.reset_index(drop=True),
          pd.DataFrame(
              {
                  "id": [1, 2],
                  "variable": ["a", "a"],
                  "value": [1.0, 2.0],
              }
          ),
      )
  
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 13 for calling the DataAdapterTestCase obj's underlying member method code with example usage: obj.test_dask_dataframe_with_kind() and returns: pd