code: def test_actor_in_heterogeneous_image():
      job_config = ray.job_config.JobConfig(
          runtime_env={
              "container": {
                  "image": "rayproject/ray-worker-container:nightly-py36-cpu-pandas",
              }
          }
      )
      ray.init(job_config=job_config)
  
      @ray.remote
      class HeterogeneousActor(object):
          def __init__(self):
              pass
  
          def run_pandas(self):
              import numpy as np
              import pandas as pd
  
              return len(pd.Series([1, 3, 5, np.nan, 6]))
  
      h1 = HeterogeneousActor.options().remote()
      pandas_result = ray.get(h1.run_pandas.remote())
      assert pandas_result == 5
      ray.shutdown()
  
imports: import pytest
  import sys
  import ray
  import ray.job_config
  import ray.cluster_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_actor_in_heterogeneous_image() and returns: len