code: def make_data(n: int):
      data = []
      for i in range(n):
          ts_len = np.random.choice([1, 100, 700, 901])
          ts = {
              "start": rand_start(),
              "target": np.random.uniform(size=ts_len).astype(
                  np.float32
              ),
              "feat_dynamic_real": np.random.uniform(
                  size=(3, ts_len)
              ).astype(np.float32),
              "feat_static_cat": np.random.randint(
                  low=0, high=10, size=7
              ).astype(np.int64),
          }
          data.append(ts)
      return data
  
file_path: gluonts/test/dataset/test_arrow.py
imports: import sys
  import tempfile
  from pathlib import Path
  import numpy
  import pytest
  from gluonts.dataset.arrow import File, ArrowWriter, ParquetWriter
label_desc: Use image node_id 3 for calling a global function with example usage: make_data(n) and returns: data