docstr: Small test data set with target.
  :return: timeseries df
  :return: target y which is the mean of each sample's timeseries
docstr_tok: ["Small","test","data","set","with","target",".",":","return",":","timeseries","df",":","return",":","target","y","which","is","the","mean","of","each","sample","'s","timeseries"]
code: def create_test_data_sample_with_target(self):
      """
      Small test data set with target.
      :return: timeseries df
      :return: target y which is the mean of each sample's timeseries
      """
      cid = np.repeat(range(50), 3)
      csort = list(range(3)) * 50
      cval = [1, 2, 3] * 30 + [4, 5, 6] * 20
      df = pd.DataFrame(
          {"id": cid, "kind": "a", "sort": csort, "val": cval}
      )
      y = pd.Series([2] * 30 + [5] * 20)
      return df, y
  
file_path: tsfresh/tests/fixtures.py
imports: import warnings
  from contextlib import contextmanager
  from unittest import TestCase
  import numpy
  import pandas
label_desc: Use image node_id 6 for calling the DataTestCase obj's underlying member method code with example usage: obj.create_test_data_sample_with_target() and returns: df,  y