code: def test_applymap_dataframe(data, func, na_action):
      gdf = DataFrame(data)
      pdf = gdf.to_pandas(nullable=True)
  
      expect = pdf.applymap(func, na_action=na_action)
      got = gdf.applymap(func, na_action=na_action)
  
      utils.assert_eq(expect, got, check_dtype=False)
  
imports: import pytest
  from cudf import NA, DataFrame
  from cudf.testing import _utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_applymap_dataframe(data, func, na_action) without return types