code: def test_action_type_for_type_pandas(pd_type: Any):
      assert pd_type in action_types
      if pd_type == pd.DataFrame:
          pd_obj = pd_type(np.asarray([[1, 2, 3]]))
      elif pd_type == pd.Series:
          pd_obj = pd_type(np.asarray([1, 2, 3]))
      else:
          raise RuntimeError(f"unhandled type {pd_type}")
      assert action_type_for_type(pd_obj) == action_types[pd_type]
  
file_path: PySyft/packages/syft/tests/syft/service/action/action_types_test.py
imports: from typing import Any
  import numpy
  import pandas
  import pytest
  from syft.service.action.action_data_empty import ActionDataEmpty
  from syft.service.action.action_types import action_type_for_type
  from syft.service.action.action_types import action_types
label_desc: Use image node_id 3 for calling a global function with example usage: test_action_type_for_type_pandas(pd_type) without return types