code: def get_ts_df():
      sample_num = np.random.randint(1000, 1500)
      train_df = pd.DataFrame(
          {
              "datetime": pd.date_range(
                  "1/1/2019", periods=sample_num, freq="1s"
              ),
              "value": np.random.randn(sample_num),
              "id": np.array(["00"] * sample_num),
              "extra feature": np.random.randn(sample_num),
          }
      )
      return train_df
  
imports: import numpy
  import pandas
  import tempfile
  import os
  from bigdl.chronos.utils import LazyImport
  from bigdl.chronos.data import TSDataset
  from unittest import TestCase
  import pytest
  from ..None import op_torch, op_automl
label_desc: Use image node_id 1 for calling a global function with example usage: get_ts_df() and returns: train_df