code: def download(url, path, chunk_size):
      """
      param url: File download source address, str or list.
      param path: File save path, default path/name/name_data.csv.
      """
      req = requests.get(url, stream=True)
      file_size = int(req.headers["content-length"])
      assert (
          req.status_code == 200
      ), "download failure, please check the network."
      file_name = url.split("/")[-1]
      pbar = tqdm.tqdm(
          total=file_size, unit="B", unit_scale=True, desc=file_name
      )
      with open(os.path.join(path, file_name), "wb") as f:
          for chunk in req.iter_content(chunk_size):
              if chunk:
                  f.write(chunk)
                  pbar.update(chunk_size)
                  f.flush()
      pbar.close()
  
file_path: analytics-zoo/pyzoo/zoo/chronos/data/utils/public_dataset.py
imports: import os
  import requests
  import tqdm
  import pandas
  from zoo.chronos.data.tsdataset import TSDataset
label_desc: Use image node_id 1 for calling a global function with example usage: download(url, path, chunk_size) without return types