code: def test_applymap_basic(func, has_na):
      size = 2000
      pdf, dgdf = _make_random_frame(size, include_na=False)
  
      dpdf = dd.from_pandas(pdf, npartitions=dgdf.npartitions)
  
      expect = dpdf.applymap(func)
      got = dgdf.applymap(func)
      dd.assert_eq(expect, got, check_dtype=False)
  
imports: import pytest
  from pandas import NA
  from dask import dataframe
  from dask_cudf.tests.utils import _make_random_frame
label_desc: Use image node_id 1 for calling a global function with example usage: test_applymap_basic(func, has_na) without return types