code: def iter_archive(archive_path):
      with tarfile.open(archive_path) as tar:
          for tarinfo in tar:
              file_path = tarinfo.name
              file_obj = tar.extractfile(tarinfo)
              yield file_path, file_obj
  
imports: import os
  import tarfile
  import warnings
  import numpy
  import pandas
  import pyarrow
  import pytest
  from datasets import Dataset, Features, Image, Sequence, Value, concatenate_datasets, load_dataset
  from datasets.features.image import encode_np_array, image_to_bytes
  from ..utils import require_pil
label_desc: Use image node_id 2 for calling a global function with example usage: iter_archive(archive_path) without return types