code: def test_get_nyc_taxi(self):
      name = "nyc_taxi"
      path = "~/.chronos/dataset"
      if os.environ.get("FTP_URI", None):
          file_url = f"{os.getenv('FTP_URI')}/analytics-zoo-data/apps/nyc-taxi/nyc_taxi.csv"
  
          public_data = PublicDataset(name, path, redownload=False)
          public_data.df = pd.read_csv(
              file_url, parse_dates=["timestamp"]
          )
  
          tsdata = public_data.get_tsdata(
              target_col="value", dt_col="timestamp"
          )
          assert set(tsdata.df.columns) == {"id", "timestamp", "value"}
          assert tsdata.df.shape == (10320, 3)
          tsdata._check_basic_invariants()
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/data/utils/test_public_dataset.py
imports: import os
  import pandas
  import pytest
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.data.utils.public_dataset import PublicDataset
label_desc: Use image node_id 4 for calling the TestPublicDataset obj's underlying member method code with example usage: obj.test_get_nyc_taxi() without return types