code: def test_get_vertex_data(
      client_with_property_csvs_loaded, pG_with_property_csvs_loaded
  ):
      rpG = RemoteGraph(client_with_property_csvs_loaded, 0)
      pG = pG_with_property_csvs_loaded
  
      vd = rpG.get_vertex_data()
      vd[rpG.type_col_name] = vd[rpG.type_col_name].astype("string")
      expected_vd = pG.get_vertex_data().fillna(
          0
      )  # FIXME expose na handling
      expected_vd[pG.type_col_name] = expected_vd[
          pG.type_col_name
      ].astype("string")
      for col in expected_vd.columns:
          assert (expected_vd[col] == vd[col]).all()
  
      for _ in range(3):
          vertex_ids = random.sample(
              pG.vertices_ids().values_host.tolist(), 3
          )
          vd = rpG.get_vertex_data(vertex_ids=vertex_ids)
          vd[rpG.type_col_name] = vd[rpG.type_col_name].astype("string")
          expected_vd = pG.get_vertex_data(
              vertex_ids=vertex_ids
          ).fillna(
              0
          )  # FIXME expose na handling
          expected_vd[pG.type_col_name] = expected_vd[
              pG.type_col_name
          ].astype("string")
          for col in expected_vd.columns:
              assert (expected_vd[col] == vd[col]).all()
  
      vertex_type_list = [["merchants", "users"], ["merchants"]]
      for vertex_types in vertex_type_list:
          vd = rpG.get_vertex_data(types=vertex_types)
          vd[rpG.type_col_name] = vd[rpG.type_col_name].astype("string")
          expected_vd = pG.get_vertex_data(types=vertex_types).fillna(
              0
          )  # FIXME expose na handling
          expected_vd[pG.type_col_name] = expected_vd[
              pG.type_col_name
          ].astype("string")
          for col in expected_vd.columns:
              assert (expected_vd[col] == vd[col]).all()
  
      vd = rpG.get_vertex_data(types=["users"], columns=["vertical"])
      vd[rpG.type_col_name] = vd[rpG.type_col_name].astype("string")
      expected_vd = pG.get_vertex_data(
          types=["users"], columns=["vertical"]
      ).fillna(
          0
      )  # FIXME expose na handling
      expected_vd[pG.type_col_name] = expected_vd[
          pG.type_col_name
      ].astype("string")
      for col in expected_vd.columns:
          assert (expected_vd[col] == vd[col]).all()
  
imports: import importlib
  import random
  import pytest
  import pandas
  import numpy
  import cupy
  import cudf
  import cugraph
  from cugraph.experimental import PropertyGraph
  from cugraph_service_client import RemoteGraph
  from .None import data
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_vertex_data(client_with_property_csvs_loaded, pG_with_property_csvs_loaded) without return types