code: def test_applymap_raise_cases():
      df = DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
  
      def f(x, some_kwarg=0):
          return x + some_kwarg
  
      with pytest.raises(NotImplementedError):
          df.applymap(f, some_kwarg=1)
  
      with pytest.raises(ValueError):
          df.applymap(f, na_action="some_invalid_option")
  
imports: import pytest
  from cudf import NA, DataFrame
  from cudf.testing import _utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_applymap_raise_cases() and returns: unknown