code: def test_generate_dt_features(self):
      dates = pd.date_range("1/1/2019", periods=8)
      data = np.random.randn(8, 3)
      df = pd.DataFrame(
          {
              "datetime": dates,
              "values": data[:, 0],
              "A": data[:, 1],
              "B": data[:, 2],
          }
      )
      df = generate_dt_features(
          df,
          dt_col="datetime",
          features="auto",
          one_hot_features=None,
          freq=pd.Timedelta("1D"),
          features_generated=[],
      )
      assert set(df.columns) == {
          "DAY",
          "IS_WEEKEND",
          "WEEKDAY",
          "MONTH",
          "DAYOFYEAR",
          "WEEKOFYEAR",
          "A",
          "B",
          "YEAR",
          "values",
          "datetime",
      }
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/data/utils/test_feature.py
imports: import pytest
  import pandas
  import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.data.utils.feature import generate_dt_features, generate_global_features
  import tsfresh
label_desc: Use image node_id 3 for calling the TestFeature obj's underlying member method code with example usage: obj.test_generate_dt_features() without return types