code: def test_tsdataset_global_feature(self):
      for val in ["minimal"]:
          df = get_ts_df()
          tsdata = TSDataset.from_pandas(
              df,
              dt_col="datetime",
              target_col="value",
              extra_feature_col=["extra feature"],
              id_col="id",
          )
          tsdata.gen_global_feature(settings=val)
          tsdata._check_basic_invariants()
  
imports: import pytest
  import numpy
  import pandas
  import random
  import tempfile
  import os
  import shutil
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.data import TSDataset
  from pandas.testing import assert_frame_equal
  from numpy.testing import assert_array_almost_equal
label_desc: Use image node_id 23 for calling the TestTSDataset obj's underlying member method code with example usage: obj.test_tsdataset_global_feature() without return types