code: def get_train_data():
      import os
      import io
      import shutil
      import urllib.request as req
  
      dfp = f'{os.getenv("FTP_URI")}/analytics-zoo-data/apps/doppelGANger_data/data_train_small.npz'
      fi = io.BytesIO()
      with req.urlopen(dfp) as dp:
          shutil.copyfileobj(dp, fi)
          fi.seek(0)
          df = np.load(fi)
      return df
  
file_path: BigDL/python/chronos/test/bigdl/chronos/simulator/test_doppelganger_simulator.py
imports: import tempfile
  import numpy
  import pytest
  from bigdl.chronos.utils import LazyImport
  from unittest import TestCase
  from ..None import op_torch
label_desc: Use image node_id 1 for calling a global function with example usage: get_train_data() and returns: df