code: def complex_image(height, width, dtype):
      """An array with sequential elements"""
      return np.array(
          [complex(x, x) for x in range(height * width)], dtype=dtype
      ).reshape(height, width)
  
file_path: rasterio/tests/test_complex_dtypes.py
imports: import subprocess
  import uuid
  import numpy
  import pytest
  import rasterio
label_desc: Use image node_id 2 for calling a global function with example usage: complex_image(height, width, dtype) and returns: np