code: def zip_compress(data):
      """Write data into zipfile and return the bytes"""
      out = io.BytesIO()
      with zipfile.ZipFile(file=out, mode="w") as z:
          with z.open("myfile", "w") as zf:
              zf.write(data)
      out.seek(0)
      return out.read()
  
imports: from __future__ import annotations
  import bz2
  import gzip
  import io
  import lzma
  import zipfile
label_desc: Use image node_id 1 for calling a global function with example usage: zip_compress(data) and returns: out